ISC
asked on
Reference "Wscript.Shell"
Hi,
If I do not want to use late binding for "Wscript.Shell"...What reference do I need to add in my VB6 project?
Set m_objEventViewer = CreateObject("Wscript.Shel l")
Thanks Ian
If I do not want to use late binding for "Wscript.Shell"...What reference do I need to add in my VB6 project?
Set m_objEventViewer = CreateObject("Wscript.Shel
Thanks Ian
ASKER
Tim,
I am typing "Private m_objEventViewer as " and the intelli sense box appears but there does not seem to be an entry for
"Wscript.Shell" in the box....
Ian
I am typing "Private m_objEventViewer as " and the intelli sense box appears but there does not seem to be an entry for
"Wscript.Shell" in the box....
Ian
ASKER
Tim,
I should have added....I have included the "Microsoft Scripting Runtime" in my project.
Ian
I should have added....I have included the "Microsoft Scripting Runtime" in my project.
Ian
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tim,
I have the same problem with my memory....
Thanks for your help! Ian
I have the same problem with my memory....
Thanks for your help! Ian
wscript.exe
Microsoft (r) Windows Based Script Host
The best thing to do it just browse to your system32 folder and get it there, then you will see what it is referenced to, instead of looking for it in the list, just remember that it is an Active X EXE, so change your search filter when browsing.
Hope this helps you
Microsoft (r) Windows Based Script Host
The best thing to do it just browse to your system32 folder and get it there, then you will see what it is referenced to, instead of looking for it in the list, just remember that it is an Active X EXE, so change your search filter when browsing.
Hope this helps you
goto Project Menu -> References
and select Microsoft WMI Scripting V1.1 Library
and select Microsoft WMI Scripting V1.1 Library
From memory it is "Microsoft Scripting Runtime"
Tim Cottee