What trips you up in VBScript?

Okay, if you’re reading this I’ll assume (for the moment) that you have at least a passing interest in VBScript. When you were (or while you are) learning VBScript – what topics gave (or give) you the most difficulty? What is or was the most difficult thing to grasp, or the hardest thing for you […]

Read More

A VBScript GUI

A while back, I’d posted a “SuperInputBox” for VBScript. Written as a COM component in VB6, this “input box” allows a VBScript to display a much more robust dialog box for collecting input. I wanted to make this available on an “as-is” basis for anyone who’d like to use it: Get the DLL from www.scriptinganswers.com/download/dll.zip […]

Read More

The New VBScript Reference

Lest you think we’re completely caught up in the Windows PowerShell craze, I offer you the latest project from SAPIEN Press: WSH and VBScript Core: TFM. A sample chapter is now available for download, showing how this is shaping up to be the most detailed reference material possible for working with VBScript and the Windows […]

Read More

New Class Locations!

Our “Script Across North America” tour has been enhanced with new locations in Chicago and Toronto. Full details are available at www.ScriptingTraining.com – registration for all locations is now open, so don’t delay – sign up today!

Read More

ADSI Scripting: TFM – off to the presses!

Our newest SAPIEN Press title, ADSI Scripting: TFM (by Cade Fassett), is off to the presses! That also means the book’s sample scripts are available for download, and a completed sample chapter (well, a chapter and a half, really) is available for download in PDF format, all at www.sapienpress.com/adsi.asp. The book is also available for […]

Read More

Automated Telnet

There was a recent post in the ScriptingAnswers.com forums about a Telnet COM object. I’m assuming the poster was looking for a way to automate a telnet session. Well there isnt’ a free and easy way. What you need is some way to pass a string of commands to the Telnet session. Well, when all else fails, the SendKeys method is a last resort.

Read More

VBScript and PowerShell Training – Registration Open

Registration is now open for classes in Atlanta, Dallas, Philadelphia, and Omaha. These cities will all host a two-day class on Windows PowerShell this year; you’ll find complete details and registration forms at www.ScriptingTraining.com/classes.asp. We do offer early-bird discounts and space is limited, so if you’re planning to attend, we encourage you to register sooner rather than later….

Read More

Philosophy Of Automation

Last month Jeffrey Snover had an excellent post on his Philosophy of Automation. I’d like to add my 2 cents to the discussion. This is a concept I’ve espoused my entire career. I’m always looking for ways to get more done faster with less. I expect many of you are interested in this as well or you wouldn’t be here.

Read More

Execute! III

Okay, last time, I left you with two functions which were nearly identical. This one:

Const pi = 3.1416
r = 0
WScript.Echo Main()
Function Main()
 r = 2.5
 Dim result
 Dim str
 str = “result=pi*(r*r)”
 Execute str
 Main = result
End Function

This function returns a nonzero value. Although r has a value of zero in the global scope, function Main() …

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard