Click here to Skip to main content
15,881,248 members
Everything / Programming Languages / VBScript

VBScript

VBScript

Great Reads

by Doug Schmidt
A VBScript utility that continually monitors a VSS database and sends emails when certain patterns are detected. Can be run as an NT service.
by Kewin Rausch
A tool for translating C/C++ makefile projects in Visual Studio compatible ones
by Larry Boeldt
Building on a previous article, we now delve into the Facebook Graph API and provide a few useful functions.
by Duncan Edwards Jones
Part 2 in the series showing how to write a debugger in VB

Latest Articles

by Member 4206974
Form generator is a class module written in Basic4Android (B4A) for build and handle forms data.
by rkapl
Automated Setting of the Out of Office Assistant
by Marijan Nikic
How to set AIP label via VBScript code
by Igor Krupitsky
How to compare two Excel Files using VBS

All Articles

Sort by Score

VBScript 

25 Feb 2015 by Kewin Rausch
A tool for translating C/C++ makefile projects in Visual Studio compatible ones
3 Apr 2014 by Code Help 2014
This is a complete working example with code on how to send email using classic ASP.
12 Dec 2016 by Leo Chapiro
This article explains how to consume a WebService (SOAP) from plain VisualBasicScript by using a COM DLL written in C#.
2 Mar 2010 by Rudy du Plooy
Set oshell = createobject("Wscript.Shell") oshell.run"cmd.exe" wscript.sleep 500 oshell.sendkeys "net stop ""Your service name here"""+("{Enter}") wscript.sleep 5000 oshell.sendkeys "net start ""Your service name here"""+("{Enter}") wscript.sleep 5000 ...
29 Jun 2010 by crackruckles
Days Left Timer VBS self deleting
30 Oct 2012 by diegosendra
Classic ASP - Prevent Cache from being stored
24 Jun 2020 by Igor Krupitsky
How to merge multiple Excel files into one with the help of VB script
1 Feb 2022 by Marijan Nikic
How to set AIP label via VBScript code
8 Jul 2010 by Stefan Huy
VBA Hashtable Visual Basic Stack LIFO
20 Nov 2009 by JAGUARSOFT
 Introduction This articles is intended to reduce multiple disclaimer messages when we reply and forward the  mail messages. As we know that the business related  messages  mostly replied several times and   same disclaimer message automatically added by Exchange Server everytime. It increases t
3 May 2010 by Riaan Lehmkuhl
Create a new text file called shortname.vbs:Open in Notepad and paste the following code in it:set fso = CreateObject("Scripting.FileSystemObject") strLongName = Wscript.Arguments(0)strShortName = "Invalid File/Folder - (" & strLongName & ")"Set fsoFile = NothingOn Error Resume...
26 Nov 2009 by s4111
For the most part WMI won't return anything that doesn't exist and VBscript doesn't have the means to exit gracefully from this even when using On Error Resume Next. I'm merely posting this because it seemed to be a common problem to which no quick answer could be found. Hope this helps someone.
2 Mar 2010 by Rudy du Plooy
1. Copy the script code and save as a .vbs file. 2. Open hyperterminal and setup the modem settings, for this example save the hyperterminal file as c:\example\example.ht 4. Add the below vbs file to your c:\program Files\Windows NT directory and execute. Important: If you saved...
5 Jun 2011 by RedDk
Ever try to use the Adobe .pdf references for scripting and VBScript? This is a reference viewing tweak.
30 Sep 2011 by ria mazhar
This article helps in getting the runtime URL and compare with user defined, if that is correct it logs into the application otherwise exits the application
22 Jan 2013 by bEGI23
Determine how many instances are currently running from a specified process.
4 May 2020 by Igor Krupitsky
This VBS will merge Many Excel Worksheets into one.
28 Dec 2014 by Pritam Deshmukh
This tip elaborates few useful tricks and shortcuts of VS 2013 mainly for professional edition (You can find them with Ultimate version too).
8 Oct 2014 by Spencer Kittleson
Pin a shortcut onto the Taskbar or Start Menu using VBScript
1 Aug 2014 by Gautham Prabhu K
Perform custom disk clean up when hard disk free space goes low
19 Jan 2021 by Igor Krupitsky
How to compare two Excel Files using VBS
29 Nov 2019 by Leo Chapiro
This tip shows how easy it is to debug the VBScript by using Visual Studio Debugger
4 Sep 2013 by Green Mile
Pressing any key automatically using batch program and VBScript
14 Jul 2020 by Igor Krupitsky
This VBS will merge Many Excel files into one
8 Jul 2010 by Stefan Huy
VBA Hashtable Visual Basic Queue FIFO
12 Dec 2012 by Eduardo Mozart de Oliveira
How to download files with VBScript using COM (WinHTTP and MSXML) or WGET
12 Dec 2012 by Eduardo Mozart de Oliveira
This article will show how to replace special characters (like "&") to their equivalents ("e") in VBScript.
9 Dec 2014 by Jan Kupke
This is an alternative for "Pin a Shortcut onto the Taskbar or Start Menu"
19 Jul 2019 by Anurag Gandhi
An Excel macro that generates SQL insert script that can be executed against database directly
9 May 2013 by RaisKazi
VBScript to check - Am I connected to VPN?
4 Apr 2012 by BorysT
This is an alternative for "A quick & simple VBA FIFO Queue Implementation"
27 Jun 2012 by Vinolarium
Sample code for parsing JSON with deep-nested schemas in VBA.
31 Mar 2008 by Shashidhar Rao Nellutla
Generating Data Dictionary or Database Design Document using MS Word macros.
12 Mar 2013 by Eduardo Mozart de Oliveira
Learn to call external applications in VBScript.
8 Mar 2020 by NewPast
Excel, Pure VBA Macro: Molecular Weight/Molecular Mass Calculator
8 Jul 2010 by Stefan Huy
VBA Hashtable Visual Basic Hash
22 Nov 2020 by Marijan Nikic
Windows batch utility in VBscript to read and compare two text files line by line
1 Dec 2020 by Igor Krupitsky
This script is useful if you want to Unmerge Excel File prior to importing it to a database.