The VBScript Network and Systems Administrator's Cafe:

VBScript


October 16, 2008  2:53 AM

Consuming and using a web service from within VBScript to create a WHOIS tool



Posted by: Jerry Lees
SOAP, VBScript, Web Pages, Web Service, web sites, web tools, WSDL

Recently I posted a list of web services at a site that were public web services, in the article entitled A Great list of FREE publicly...

Bookmark and Share     0 Comments     RSS Feed     Email a friend

October 6, 2008  4:36 PM

Using the windows file dialog box in VBScript to provide file selections and populate script options



Posted by: Jerry Lees
Development, File Dialog, tips and tricks, UserAccounts.CommonDialog, VBScript, vbscript tips

Sometimes the command line is great for getting a script running and doing the task a script was intended to do, however, sometimes you simply don't want to add the overhead of opening a command prompt, navigating to the directory where your script is located, and then remembering the command line...


October 3, 2008  3:00 PM

How to retrieve HTML web pages with VBScript via the Microsoft.XmlHttp object



Posted by: Jerry Lees
HTML, HTTP, Microsoft.XmlHttp, VBScript, VBScript Objects, Web Pages, XML

Recently, I had a situation where I had to pull down a HTML page to compare it to a known copy of the page. Certainly, IE or FireFox-- or Google's Chrome would have done the trick and I could have viewed the source. But that would require me to do...


October 1, 2008  2:06 PM

Easy string manipulation with VBScript using the Replace Function



Posted by: Jerry Lees
Functions, Replace, String manipulation, VBScript, VBScript Functions

Recently, I had a situation at the office where I needed to check a web.config file for the existence of a setting. Not a hard problem-- just open the file up an look for it, however, that becomes a little harder when your talking about 30 servers. So, I scripted it using the replace...


September 19, 2008  7:50 PM

VBScript Statements: Explanation of the Property Set Statement



Posted by: Jerry Lees
Property, property set, VBScript, VBScript Statements

Within a VBScript class the Property block allows you to set the value of the property in the class. This statement works in conjunction with the Property Let and Property Get statements and can only be used inside a class inside VBScript-- and no where else in the script. This would in turn be...


September 18, 2008  7:31 PM

VBScript Statements: Explanation of the Property Let Statement



Posted by: Jerry Lees
Classes, Property, Property Let, VBScript, VBScript Statements

Within a VBScript class the Property block allows you to set the name of the property in the class. This statement works in conjunction with the Property Set and Property Get statements and can only be used inside a class inside VBScript-- and no where else in the script.  By default the...


September 13, 2008  11:11 PM

VBScript Statements: Explanation of the Function Statement



Posted by: Jerry Lees
Functions, VBScript, VBScript Functions, VBScript Statements

The Function statement creates a function and allows you to list the arguments (if any) which are to be passed into the function.   The major difference between a function and a subroutine, is that a function can return a value. To return a value you...


September 12, 2008  6:04 AM

How to use command line arguments in VBScript via the Wscript.Arguments Object



Posted by: Jerry Lees
commandline, VBScript, vbscript tips, Wscript.Arguments

One thing that comes up frequently in my need to script tasks, is the ability to run a script from the command line, or as a scheduled job with parameters passed to it from the calling application. In a "set it and forget it" script it's not such a big deal to have arguments...


September 6, 2008  11:41 PM

VBScript Statements: Explanation of the Public Statement



Posted by: Jerry Lees
Development, Public, Variable Types, VBScript, VBScript Statements

The VBScript Public statement creates a variable, function, subroutine, or class that is available outside the bounds of the scope it was created in and it functions very much like a global variable, except that it can be declared or initialized inside a non0-global code...


September 4, 2008  4:01 PM

Pinging a remote computer from another remote computer using the WMI Win32_PingStatus class in VBScript



Posted by: Jerry Lees
Development, Functions, monitoring, Networking, VBScript

I recently began working on trying to figure out ways to troubleshoot real problems with a VBScript and give me some diagnostic information about the current state of the environment. As I build this script I plan on sharing pieces of it bit by bit with you, my readers. I also wanted to get back to...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: