October 30, 2008 12:00 AM
Posted by: Jerry Lees
Integer,
string,
Variable Types,
variant,
VBScript,
working with variablesIn the past I've cautioned you on always initializing your variables and encouraged you to always declare your variable types, rather than using the default variant type in VBScript. I'll be the first to admit I don't follow my own advice in my examples! However, variants can be...
October 24, 2008 12:30 AM
Posted by: Jerry Lees
Environment Variables,
VBScript,
wscript,
wscript.shellAs an extension of the theme I've been blogging about lately of "interfacing with other types of applications" in VBScript, I'd like to share with you a snippet of VBScript code that will allow you to read environment variables from your system. This will allow you to determine a great deal of...
October 23, 2008 1:43 PM
Posted by: Jerry Lees
Input,
inputbox,
User Input,
VBScriptWhile entering data at the command line for a script to use is sometimes helpful like we discussed in
October 17, 2008 11:11 PM
Posted by: Jerry Lees
batch commands,
Error control,
errorlevel,
exit,
on error,
VBScript,
wscript,
WScript.quitWe've discussed error handling previously (via the On Error Goto 0 command) in a entry titled, Using error control in a VBScript to recover from...
October 16, 2008 2:53 AM
Posted by: Jerry Lees
SOAP,
VBScript,
Web Pages,
Web Service,
web sites,
web tools,
WSDLRecently 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...
October 10, 2008 7:57 PM
Posted by: Jerry Lees
SOAP,
Web Pages,
Web Service,
web sites,
web tools,
webmaster,
WSDLAs an IIS Administrator I have spent quite a bit of time administering web sites and web services in my role where I work. Recently, I have been doing some work with Web Services in IIS to actually monitor them since we needed to do more than just simply monitor the Web Service Definition Language...
October 6, 2008 4:36 PM
Posted by: Jerry Lees
Development,
File Dialog,
tips and tricks,
UserAccounts.CommonDialog,
VBScript,
vbscript tipsSometimes 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
Posted by: Jerry Lees
HTML,
HTTP,
Microsoft.XmlHttp,
VBScript,
VBScript Objects,
Web Pages,
XMLRecently, 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
Posted by: Jerry Lees
Functions,
Replace,
String manipulation,
VBScript,
VBScript FunctionsRecently, 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...