Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Go Back   EduGeek.net Forums > Coding and Web Development > Coding
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 26-04-2006, 05:48 AM   #1
 
ajbritton's Avatar
 
Join Date: Jul 2005
Location: Wandsworth
Posts: 1,414
Thanks: 7
Thanked 15 Times in 10 Posts
Rep Power: 11 ajbritton will become famous soon enough
Default 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?
  Reply With Quote
Old 26-04-2006, 06:44 AM   #2
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,982
uk uk lancashire
Thanks: 3
Thanked 43 Times in 37 Posts
Rep Power: 22 ChrisH has a spectacular aura aboutChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default 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.
  Reply With Quote
Old 26-04-2006, 10:54 AM   #3
 
apeo's Avatar
 
Join Date: Sep 2005
Location: Lost
Posts: 872
uk uk england
Thanks: 23
Thanked 18 Times in 17 Posts
Rep Power: 11 apeo will become famous soon enough
Default 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.
  Reply With Quote
Old 15-11-2006, 11:22 PM   #4
 
mac_shinobi's Avatar
 
Join Date: Aug 2005
Posts: 1,692
Thanks: 11
Thanked 30 Times in 29 Posts
Rep Power: 15 mac_shinobi has a spectacular aura aboutmac_shinobi has a spectacular aura about
Default 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 ?
  Reply With Quote
Old 27-12-2006, 12:11 PM   #5
 
mac_shinobi's Avatar
 
Join Date: Aug 2005
Posts: 1,692
Thanks: 11
Thanked 30 Times in 29 Posts
Rep Power: 15 mac_shinobi has a spectacular aura aboutmac_shinobi has a spectacular aura about
Default Re: VB script template

ping - just wanted to know whats going on with this vbscript template ?
  Reply With Quote
Old 27-12-2006, 01:42 PM   #6
 
ajbritton's Avatar
 
Join Date: Jul 2005
Location: Wandsworth
Posts: 1,414
Thanks: 7
Thanked 15 Times in 10 Posts
Rep Power: 11 ajbritton will become famous soon enough
Default 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.
  Reply With Quote
Old 27-12-2006, 10:16 PM   #7
 
mac_shinobi's Avatar
 
Join Date: Aug 2005
Posts: 1,692
Thanks: 11
Thanked 30 Times in 29 Posts
Rep Power: 15 mac_shinobi has a spectacular aura aboutmac_shinobi has a spectacular aura about
Default 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.
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Template Problem Dafty EduGeek Joomla 1.0 Package 4 05-12-2007 01:29 PM
JCE and EduGeek Template hempweb EduGeek Joomla 1.0 Package 3 04-12-2007 06:28 PM
CSS Edit in Edugeek Joomla Template bensewell Web Development 2 05-07-2007 09:11 AM
wordpress template beeswax Web Development 2 25-02-2007 04:59 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 08:22 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net