A
Anukul Singhal
Hi,
I performed the following:
require 'win32ole'
Now, when I create a new instance of Wscript shell object, I get the
following error in the output window:
wsh = WIN32OLE.new('Wscript.Shell')
invokingnotepadwsh.rb:4:in `initialize': failed to create WIN32OLE
object from `Wscript.Shell' (WIN32OLERuntimeError)
HRESULT error code:0x8007007e
The specified module could not be found. from
invokingnotepadwsh.rb:4:in `new'
from invokingnotepadwsh.rb:4
Can anyone please help how to debug this? Is there anything wrong with
the code?
Thanks,
Anukul
I performed the following:
require 'win32ole'
Now, when I create a new instance of Wscript shell object, I get the
following error in the output window:
wsh = WIN32OLE.new('Wscript.Shell')
invokingnotepadwsh.rb:4:in `initialize': failed to create WIN32OLE
object from `Wscript.Shell' (WIN32OLERuntimeError)
HRESULT error code:0x8007007e
The specified module could not be found. from
invokingnotepadwsh.rb:4:in `new'
from invokingnotepadwsh.rb:4
Exit code: 1
Can anyone please help how to debug this? Is there anything wrong with
the code?
Thanks,
Anukul