VBScript - ForceCScript





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

« Previous 1 2 3 4 5 6 7 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.
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/
2
Date Submitted Mon. Jun. 25th, 2007 4:17 AM
Revision 1
Syntax Master sundaramkumar
Tags VBSCRIPT | wscript
Comments 0 comments
If you want to create a shortcut programatically use the code below. Found somewhere on net
2
Date Submitted Mon. Jun. 25th, 2007 4:19 AM
Revision 1
Syntax Master sundaramkumar
Tags VBSCRIPT | wscript
Comments 0 comments
To create a shortcut to an url you can do as follows
2
Date Submitted Mon. Jun. 25th, 2007 4:21 AM
Revision 1
Syntax Master sundaramkumar
Tags VBSCRIPT | wscript
Comments 0 comments
To get the name of the computer/host
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.
10
Date Submitted Thu. May. 11th, 2006 10:19 AM
Revision 3
Helper jbuchberger
Tags BATCH | Java
Comments 2 comments
Java properties files can yield undesirable results at runtime, if there happen to be spaces at the end of some lines.

Requires a win32 port for the GNU utilities grep and sed - e.g. http://unxutils.sourceforge.net/.
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!
-5
Date Submitted Tue. Feb. 28th, 2006 5:20 AM
Revision 1
Syntax Master dannyboy
Tags ASP | Convert | VBSCRIPT
Comments 0 comments
Convert a decimal symbol to a binary
« Previous 1 2 3 4 5 6 7 Next »