User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Could not create object named "Midiox.MoxScri »
Welcome, Guest. Please Login or Register.
Sep 14th, 2024, 11:33pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   Could not create object named "Midiox.MoxScri
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Could not create object named "Midiox.MoxScri  (Read 1765 times)
krav_magan
Member
**



The Mox Script Master

   


Gender: male
Posts: 46
Could not create object named "Midiox.MoxScri
« on: Sep 14th, 2014, 3:33pm »
Quote Quote Modify 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: male
Posts: 46
Re: Could not create object named "Midiox.Mox
« Reply #1 on: Sep 14th, 2014, 4:50pm »
Quote Quote Modify 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: male
Posts: 46
Re: Could not create object named "Midiox.Mox
« Reply #2 on: Sep 14th, 2014, 6:25pm »
Quote Quote Modify 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: male
Posts: 46
Re: Could not create object named "Midiox.Mox
« Reply #3 on: Sep 14th, 2014, 7:02pm »
Quote Quote Modify Modify

And for the sake of thoroughness I also made myself owner of the entire C: drive in win7 before restarting.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.