MMControl Help
-
I am using MMControl for playing a midi file on my software. I have never had it work on my computer, but the computer that I originally programmed on never had a problem. I am getting the error "Run-time error '424': Object required" and the Debug option takes me to the first line where I use MMControl. I have also tried it on someone elses computer and it works fine. I attempted to take the code from their computer back to mine and I get "Errors during load. Refer to .log' for details" I visited the log file and find Line 13: Cannot load control MMControl; license not found. Which to me is an odd error. What does this mean I need to do?:confused: Thanks in advance, Red Sunday ----------------- http://www.zachcalvert.com
-
I am using MMControl for playing a midi file on my software. I have never had it work on my computer, but the computer that I originally programmed on never had a problem. I am getting the error "Run-time error '424': Object required" and the Debug option takes me to the first line where I use MMControl. I have also tried it on someone elses computer and it works fine. I attempted to take the code from their computer back to mine and I get "Errors during load. Refer to .log' for details" I visited the log file and find Line 13: Cannot load control MMControl; license not found. Which to me is an odd error. What does this mean I need to do?:confused: Thanks in advance, Red Sunday ----------------- http://www.zachcalvert.com
You must copy over and register the MMCONTROL.OCX and, if you have it, the MCI32.OCX file on the target machine. You can't just copy it over and expect it to work. If it is already in the System32 directory on the target machine, unregister and register the control.
C:\\WINDOWS\\SYSTEM32>**regsvr32 /u mmcontrol.ocx** C:\\WINDOWS\\SYSTEM32>**regsvr32 mmcontrol.ocx**
Do the same for MCI32.OCX. If it still does not work, you'll need a fix the license information in the registry. See this[^] article on MSDN for more information. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You must copy over and register the MMCONTROL.OCX and, if you have it, the MCI32.OCX file on the target machine. You can't just copy it over and expect it to work. If it is already in the System32 directory on the target machine, unregister and register the control.
C:\\WINDOWS\\SYSTEM32>**regsvr32 /u mmcontrol.ocx** C:\\WINDOWS\\SYSTEM32>**regsvr32 mmcontrol.ocx**
Do the same for MCI32.OCX. If it still does not work, you'll need a fix the license information in the registry. See this[^] article on MSDN for more information. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
I tried the regsvr32 bit and it didn't work. First off, the working computer does not have mmcontrol.ocx it only has the MCI32.ocx. We un-registered and re-registered this file and get the same error. Next, we are using VB 6.0 on BOTH systems. Neither one are using the .NET structures. I appreciate your help...we are soooo stuck.:~ Red Sunday ----------------- http://www.zachcalvert.com
-
I tried the regsvr32 bit and it didn't work. First off, the working computer does not have mmcontrol.ocx it only has the MCI32.ocx. We un-registered and re-registered this file and get the same error. Next, we are using VB 6.0 on BOTH systems. Neither one are using the .NET structures. I appreciate your help...we are soooo stuck.:~ Red Sunday ----------------- http://www.zachcalvert.com
In that case, the licesing is screwed up and you have to refere to the Microsoft page I put in my first post. What you need to do is get ahold of MS Support as directed in that page and they'll send you a reg file that will correct the problem. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome