Connecting Tech Pros Worldwide Forums | Help | Site Map

Wscript object in vb

Newbie
 
Join Date: Apr 2009
Posts: 13
#1: May 19 '09
I need to use the Wscript object in my vb script. But when I am using it, its giving error that object required.

I have tried Wscript.sleep(10)

Do we need to declare the Wscript object first? How we can do that.

Thanks in Advance
--Lav

searockruz's Avatar
Newbie
 
Join Date: May 2009
Location: Jupiter
Posts: 7
#2: May 20 '09

re: Wscript object in vb


heres a simple example similar to yours
Newbie
 
Join Date: Apr 2009
Posts: 13
#3: May 20 '09

re: Wscript object in vb


thanks ..but I have already tried this and I am getting the error "Object required".
searockruz's Avatar
Newbie
 
Join Date: May 2009
Location: Jupiter
Posts: 7
#4: May 20 '09

re: Wscript object in vb


can you post your code so that i can help you
Reply