+ Post New Thread
Results 1 to 7 of 7
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 ...
  1. #1
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    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?

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,987
    Thank Post
    120
    Thanked 283 Times in 261 Posts
    Rep Power
    107

    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.

  3. #3
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    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.

  4. #4

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,811
    Thank Post
    3,326
    Thanked 1,056 Times in 977 Posts
    Rep Power
    365

    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 ?

  5. #5

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,811
    Thank Post
    3,326
    Thanked 1,056 Times in 977 Posts
    Rep Power
    365

    Re: VB script template

    ping - just wanted to know whats going on with this vbscript template ?

  6. #6
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    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.

  7. #7

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,811
    Thank Post
    3,326
    Thanked 1,056 Times in 977 Posts
    Rep Power
    365

    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:
+ Post New Thread

Similar Threads

  1. Template Problem
    By Dafty in forum EduGeek Joomla 1.0 Package
    Replies: 4
    Last Post: 5th December 2007, 12:29 PM
  2. JCE and EduGeek Template
    By hempweb in forum EduGeek Joomla 1.0 Package
    Replies: 3
    Last Post: 4th December 2007, 05:28 PM
  3. CSS Edit in Edugeek Joomla Template
    By bensewell in forum Web Development
    Replies: 2
    Last Post: 5th July 2007, 09:11 AM
  4. wordpress template
    By beeswax in forum Web Development
    Replies: 2
    Last Post: 25th February 2007, 03: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
  •