Hi,
I'm new to vbscript and I want to call a method that is outwith the "Sub Form_Load".
I have tried:
1) Do myMethod
2) Call myMethod
3) myMethod
I have also removed the "private" attribute from my method.
Sorry for the silly question :wave:
yogi
Printable View
Hi,
I'm new to vbscript and I want to call a method that is outwith the "Sub Form_Load".
I have tried:
1) Do myMethod
2) Call myMethod
3) myMethod
I have also removed the "private" attribute from my method.
Sorry for the silly question :wave:
yogi
Both no 2, and 3 should work fine. What is the Form_Load functin? You know that unlike VB Form_Load wont get executed when you execute the VBScript file. For VB Script the function that excutes at startup is Sub_Main.Quote:
Originally posted by yogiberr
Hi,
I'm new to vbscript and I want to call a method that is outwith the "Sub Form_Load".
I have tried:
1) Do myMethod
2) Call myMethod
3) myMethod
I have also removed the "private" attribute from my method.
Sorry for the silly question :wave:
yogi
Hope this helps
hi Danial,
you are of course correct.The error was causeed by a typo.
thanks bud