The VBScript Network and Systems Administrator's Cafe:

Subroutines

1

August 1, 2008  2:32 AM

VBScript Statements: Explanation of the Sub Statement



Posted by: Jerry Lees
Sub, Sub Statement, Subroutines, VBScript, VBScript Statements

The VBScript statement Sub allows you to create a section of code that can be reused over and over, called a subroutine. It also allows you to name this section of code and refer to it by name, rather than typing it in multiple times. Subroutines can optionally have parameters...

March 27, 2008  3:03 PM

Rebooting or Shuttingdown a Server Remotely with VBScript



Posted by: Jerry Lees
Development, Functions, Subroutines, VBScript

In this installment I'd like to share with you a scriplet I developed out of frustration with not having found this information anywhere else.  On occasion you need to reboot a server, sure you can do it by logging in or by the shutdown command on windows XP. Heck you can even do it with the...


March 20, 2008  6:26 PM

Explanation: Working with Subroutines and Functions in VBScript



Posted by: Jerry Lees
DataManagement, Development, Functions, Subroutines, VBScript

I just realized in my haste to get out a piece of code celebrating the XBOX 360 contest, I negected to give a proper answer for our discussion on subroutines and functions in a vbscript. In this installment, we'll explain how to build a function and a subroutine a bit better. First, remember...


March 10, 2008  3:33 PM

Working with Subroutines and Functions in VBScript



Posted by: Jerry Lees
Development, Functions, Subroutines, VBScript

In this installment, we'll discuss the advantages of using Subroutines and Functions in your script rather than using a all-in-one script that runs from start to finish. I'll only give a breif over veiw of subroutines and function, but more information on them can be found in the 


1

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: