Solved

MMControl control

Posted on 2010-08-15
4
1,140 Views
Last Modified: 2013-12-26
A client has asked my to modify his code that was written in VB6. When I try to load his code, I get an error message that refers me to the log file. The log file says

Line 725: Class MCI.MMControl of control MMControl1 was not a loaded control class.

I have looked in the Components and References sections under the Project menu, and cannot find MMControl or MCI. What is more, his code does load other controls automatically (like Winsock), so the MMControl must not be installed properly on my computer. Can anyone tell me how how to make this work (i.e., install it, get it registered, etc.)?

Note: I have tried this on two different computers. Same results.
0
Comment
Question by:Leithauser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 17

Expert Comment

by:Zhaolai
ID: 33442088
1. Open your project in VB6,
 2. Press CTRL + T to bring up Components list. Scroll down to locate and check Microsoft Multimedia Control 6.0 (SP3). The actual control file is C:\Windows\System32\MCI32.Ocx.
 3. Click OK to add the control to your component list.
 4. Save the project and close the project.
 5. Re-open the project.
0
 
LVL 5

Author Comment

by:Leithauser
ID: 33442251
<<1. Open your project in VB6,
 2. Press CTRL + T to bring up Components list. Scroll down to locate and check Microsoft Multimedia Control 6.0 (SP3). The actual control file is C:\Windows\System32\MCI32.Ocx.
3. Click OK to add the control to your component list.
4. Save the project and close the project.
5. Re-open the project>>
I am having some trouble with a "Line 26: Cannot load control Winsock5; license not found." error message. I have VB 6 installed. Any idea why there would be no license?
0
 
LVL 17

Accepted Solution

by:
Zhaolai earned 500 total points
ID: 33442299
Take a look at this link:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;194751

Note: The Winsock control file c:\Windows\System32\MSWINSCK.OCX may need to be re-registered, or even may be corrupted. You may copy one from other machine and registered.
0
 
LVL 5

Author Comment

by:Leithauser
ID: 33442348
Thanks. That did it. I was looking for a component in the Components list called MMControl, instead of Microsoft Multimedia Control. Also, my license was apparently corrupted. Your link above solved that. Good answers.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question