Author |
Topic: Could not create object named "Midiox.MoxScri (Read 1765 times) |
|
krav_magan
Member
The Mox Script Master
Gender:
Posts: 46
|
|
Could not create object named "Midiox.MoxScri
« on: Sep 14th, 2014, 3:33pm » |
Quote Modify
|
I'm trying to get the VB script demos to run but I get this error at line 17 for both of them: Error: 'Could not create object named "Midiox.MoxScript.1".' Code: 800702E4 Source: WScript.CreateObject I'm new to scripting midiox so I'm not sure if this object is one I was supposed to replace before running or what. Any help is appreciated.
|
|
IP Logged |
|
|
|
krav_magan
Member
The Mox Script Master
Gender:
Posts: 46
|
|
Re: Could not create object named "Midiox.Mox
« Reply #1 on: Sep 14th, 2014, 4:50pm » |
Quote Modify
|
For some reason it works in the console but not when I open the file with wscript.exe or cscrpt.exe... any ideas why this would happen?
|
|
IP Logged |
|
|
|
krav_magan
Member
The Mox Script Master
Gender:
Posts: 46
|
|
Re: Could not create object named "Midiox.Mox
« Reply #2 on: Sep 14th, 2014, 6:25pm » |
Quote Modify
|
It works now and I'm not sure exactly what fixed it.. I figured out that it was only working in the console if I ran the console as admin, but I couldn't have the console run as admin when I just opened the file with WHS by double clicking it.. so I created a cmd shortcut and set that to run as administrator and now it works as expected... But I had just restarted and I didn't try it before I made this shortcut so I'm not sure if that's what did it.
|
|
IP Logged |
|
|
|
krav_magan
Member
The Mox Script Master
Gender:
Posts: 46
|
|
Re: Could not create object named "Midiox.Mox
« Reply #3 on: Sep 14th, 2014, 7:02pm » |
Quote Modify
|
And for the sake of thoroughness I also made myself owner of the entire C: drive in win7 before restarting.
|
|
IP Logged |
|
|
|
|