ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 Next »
9
Date Submitted Mon. Oct. 9th, 2006 2:22 AM
Revision 1
Helper TimboTheGreat
Tags "self deleting" | VBSCRIPT
Comments 1 comments
This script demonstrates the use of a function that allows a script to delete itself from disk. The function can be called from anywhere within the script and the script will continue to function normally (assuming the script does not further attempt to access itself on disk). Handy for homebrew uninstallation programs that require the removal of all installation files, including the setup file.
9
Date Submitted Tue. Nov. 28th, 2006 4:04 AM
Revision 1
Helper TimboTheGreat
Tags VBSCRIPT | wscript
Comments 0 comments
This script demonstrates the user of a procedure that forces the currently executing script to execute under the WScript scripting host. This forces the output from WScript.Echo statements to be displayed message box dialog. This functionality may be useful in situations where the default scripting host is set to cscript.exe and/or the programmer uses a common set of code to program for wscript.exe and cscript.exe.

Typical usage would see the ForceWScript procedure called at the beginning of a script.
7
Date Submitted Tue. Nov. 28th, 2006 3:59 AM
Revision 1
Helper TimboTheGreat
Tags BATCH | cscript | VBSCRIPT
Comments 0 comments
This script demonstrates the user of a procedure that forces the currently executing script to execute under the CScript scripting host. This allows the output from WScript.Echo statements to be displayed in a command prompt dialog in a similar way to older style batch files, making this procedure ideal for batch processing.

Typical usage would see the ForceCScript procedure called at the beginning of a script.
5
Date Submitted Sat. Apr. 21st, 2007 7:04 PM
Revision 1
Helper TimboTheGreat
Tags speech | tts | VBSCRIPT | voice
Comments 0 comments
This script demonstrates the use of the Speech API via VBScript. Simply type in the word or phrase that you want to the computer to speak and click OK. Useful for vocalizing the results of a function or literally reading a text file to the user.

Note: To successfully run this code you MUST have the Speech API installed. The Speech API is installed during a complete Office install. If the required libraries are not present on your system, search Microsoft.com for the speech API SDK download. See this page for help on setting up Text To Speech: http://support.microsoft.com/kb/306902/
4
Date Submitted Tue. Dec. 5th, 2006 2:50 PM
Revision 1
Scripter Casper42
Tags VBSCRIPT | wscript
Comments 0 comments
This was an update someone else's snippet...
VBScript is a graceful language and Windows Scripting Host cleans up after itself, so this is a compact version for simple usage - reducing code bloat is what small scripts are for.

Just my $.02...
4
Date Submitted Tue. Sep. 4th, 2007 10:44 PM
Revision 1
Helper explode
Tags autorun | restart | shutdown | vbs | VBSCRIPT
Comments 0 comments
This is a great little script that you can put on a friend's flash drive. It won't do any harm to their computer...it's just funny to watch. Put these 2 files in the "root" of the flash drive, cd, or any type of media/external drive. When they plug it in it will run the autorun script which then runs the shutdown script and restarts their computer! You will get a few laughs out of it...guaranteed!
4
Date Submitted Mon. Nov. 13th, 2006 8:58 AM
Revision 1
Beginner Mattkins
Tags SQL | VBSCRIPT
Comments 6 comments
This is a quick and dirty function for preventing SQL Injection, the function is designed to clean any variable that will be concatenated into an SQL query. Apostrophes and Double-Quotes are changed to entities in order to ensure that encoding does not become an issue when the content is pulled back into a page. I'm looking for criticism here, I want to know if this is secure or not.
4
Date Submitted Thu. Mar. 2nd, 2006 11:20 AM
Revision 1
Syntax Master dannyboy
Tags "Command Line" | Radmin | VBSCRIPT
Comments 1 comments
start remote admin connection from command line
4
Date Submitted Thu. Mar. 2nd, 2006 11:40 AM
Revision 1
Syntax Master dannyboy
Tags Email | LotusNotes | VBSCRIPT
Comments 0 comments
Send a Mail using Lotus Notes
4
Date Submitted Thu. Mar. 2nd, 2006 12:03 PM
Revision 1
Syntax Master dannyboy
Tags Date | VBSCRIPT | WMI
Comments 0 comments
convert WMI, date - time values
« Previous 1 2 3 4 5 6 Next »