Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / VBScript

VBScript

VBScript

Great Reads

by Igor Krupitsky
A script that lets you run many XMLA files against a SSAS 2005 database.
by creativesri
This article briefs you about sending mail using SMTP in HTML Format, which takes the default SMTP settings from web.config file
by Jerry.Wang
Modify methods' IL codes on runtime even if they have been JIT-compiled, supports release mode / x64 & x86, and variants of .NET versions, from 2.0 to 4.5.
by tomcat1
Call a .NET COM+ Interop component with Classic ASP.

Latest Articles

by Igor Krupitsky
A script that lets you run many XMLA files against a SSAS 2005 database.
by creativesri
This article briefs you about sending mail using SMTP in HTML Format, which takes the default SMTP settings from web.config file
by Jerry.Wang
Modify methods' IL codes on runtime even if they have been JIT-compiled, supports release mode / x64 & x86, and variants of .NET versions, from 2.0 to 4.5.
by tomcat1
Call a .NET COM+ Interop component with Classic ASP.

All Articles

Sort by Score

VBScript 

by Stefan Huy
VBA Hashtable Visual Basic Queue FIFO
by BorysT
This is an alternative for "A quick & simple VBA FIFO Queue Implementation"
by Stefan Huy
VBA Hashtable Visual Basic Hash
by Stefan Huy
VBA Hashtable Visual Basic Stack LIFO
by RedDk
Ever try to use the Adobe .pdf references for scripting and VBScript? This is a reference viewing tweak.
by Kewin Rausch
A tool for translating C/C++ makefile projects in Visual Studio compatible ones
by tc99
Immediate access to resources without clicking
by Marijan Nikic
How to set AIP label via VBScript code
by diegosendra
Classic ASP - Prevent Cache from being stored
by Igor Krupitsky
How to compare two Excel Files using VBS
by Marijan Nikic
Windows batch utility in VBscript to read and compare two text files line by line
by Leo Chapiro
This article explains how to consume a WebService (SOAP) from plain VisualBasicScript by using a COM DLL written in C#.
by Gautham Prabhu K
Perform custom disk clean up when hard disk free space goes low
by crackruckles
Days Left Timer VBS self deleting
by Eduardo Mozart de Oliveira
Learn to call external applications in VBScript.
by Eduardo Mozart de Oliveira
How to download files with VBScript using COM (WinHTTP and MSXML) or WGET
by Anurag Gandhi
An Excel macro that generates SQL insert script that can be executed against database directly
by NewPast
Excel, Pure VBA Macro: Molecular Weight/Molecular Mass Calculator
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
by Shashidhar Rao Nellutla
Generating Data Dictionary or Database Design Document using MS Word macros.
by NightWizzard
Explained step by step
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...
by Leo Chapiro
This tip shows how easy it is to debug the VBScript by using Visual Studio Debugger
by Igor Krupitsky
How to merge multiple Excel files into one with the help of VB script
by Igor Krupitsky
This VBS will merge Many Excel files into one
by Igor Krupitsky
This VBS will merge Many Excel Worksheets into one.
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).
by Vinolarium
Sample code for parsing JSON with deep-nested schemas in VBA.
by Spencer Kittleson
Pin a shortcut onto the Taskbar or Start Menu using VBScript
by Jan Kupke
This is an alternative for "Pin a Shortcut onto the Taskbar or Start Menu"
by Green Mile
Pressing any key automatically using batch program and VBScript
by Eduardo Mozart de Oliveira
This article will show how to replace special characters (like "&") to their equivalents ("e") in VBScript.
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...
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 ...
by Code Help 2014
This is a complete working example with code on how to send email using classic ASP.
by Igor Krupitsky
This script is useful if you want to Unmerge Excel File prior to importing it to a database.
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
by bEGI23
Determine how many instances are currently running from a specified process.
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.
by RaisKazi
VBScript to check - Am I connected to VPN?