Coding Thread, VB script template in Coding and Web Development; I've been working on an install which has needed quite a few scripts (some completely new and some updates of ...
-
26th April 2006, 05:48 AM #1 VB script template
I've been working on an install which has needed quite a few scripts (some completely new and some updates of ones Ialready have).
As an amateur scripter, I find myself regularly rewriting the same code over and over again. I'm accumulating a small library of usefu routines (log file, IE progress window etc.) but what I really want is an all singing all dancing script template which I can customize for each new script. I'm thinking about the following...
1 - Usual object definitions (FSO, Shell, Net etc)
2 - Logger (I wrote a logging class for this)
3 - Directory iterator (processes every file/folder in a structure calling an sub for each file/folder)
4 - AD search
5 - AD based IsUser function to test for user account existence
6 - AD based IsGroup function etc. etc.
You get the general idea. Does anyone else do this? Am I just inventing script bloat? Is there a really good template already out there? I suppose I could just download every function from NetRead Scripting website and paste them together, but I was hoping for someting a bit more integrated than that (global object defs, debug logging in all functions etc.)
Or have I just made a job for myself?
-
-
IDG Tech News
-
26th April 2006, 06:44 AM #2 Re: VB script template
It sounds like a good idea. At the moment I just do some serious copy and pasting. When I have a working script I go through it and take out the stuff that isnt used.
-
-
26th April 2006, 10:54 AM #3 Re: VB script template
Sript template would be well useful.. as like everyone else i just do alot of copy and paste from old scripts.
-
-
15th November 2006, 11:22 PM #4 Re: VB script template
www.computerperformance.co.uk is a good site I use has examples and defintions / explanations of a lot of stuff. Also maybe do this on a wiki , just a thought ?
-
-
27th December 2006, 12:11 PM #5 Re: VB script template
ping - just wanted to know whats going on with this vbscript template ?
-
-
27th December 2006, 01:42 PM #6 Re: VB script template
It's still somewhere on my long list of things to do, but at the moment I'm afraid it's not very high.
-
-
27th December 2006, 10:16 PM #7 Re: VB script template
Fair enough, just it had been a while, if you can post back here when your ready to do it , I wouldn't mind helping a bit now n then ie on weekends and if i get any other time.
-
SHARE:
Similar Threads
-
By Dafty in forum EduGeek Joomla 1.0 Package
Replies: 4
Last Post: 5th December 2007, 01:29 PM
-
By hempweb in forum EduGeek Joomla 1.0 Package
Replies: 3
Last Post: 4th December 2007, 06:28 PM
-
By bensewell in forum Web Development
Replies: 2
Last Post: 5th July 2007, 09:11 AM
-
By beeswax in forum Web Development
Replies: 2
Last Post: 25th February 2007, 04:59 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules