Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Code Snippets, Functions and Sub

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,57816
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Code Snippets, Functions and Sub
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Code Snippets, Functions and Sub - 3/11/2008 11:40:36 PM   
  mbouchard


Posts: 1823
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
I was just thinking about how many of us have basic code snippets that we have in many of our scripts that perform 1 function and that it might be worth while to have a central repository.  So, I will start.

Get OS and SP version

      

The next sub is one I use whenever I am doing an install that would pop up a security message    'Prevents "Open File - Security Warning" dialog box from displaying on Windows XP SP2 and above

Disable/Enable IEZone Checks

      

Compare File Versions

      

Delete file

      

Delete Folder

      

I have an IE detect script that I am currently working as microsoft changed how the versioning is updated on IE7 when IE is patched.

That is all for today, will probably post more later.

_____________________________

Mike

For useful Scripting links see the Read Me First stickey!

Always remember Search is your friend.
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Code Snippets, Functions and Sub Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts