Author Topic: use SET inVBscript  (Read 1870 times)

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
use SET inVBscript
« on: July 24, 2009, 04:08:48 PM »
In order to declear variables in VBS you can use :
Dim x
Public y
Private z
and then assign the values as:
x= "string"
y= 19
Don't use SET except you assing an instance of a class to the variable like:
Dim myinstance
Set myinstance = new ClassName
or you will have error: object required