Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Registering MSCOMM32 on a 64-bit operating system

Posted on 2011-03-25
2
Medium Priority
?
7,419 Views
Last Modified: 2012-05-11
Hi,

I have a program written in VB6 which works perfectly well on all my development machines which run XP / O2k3 / VB6. However I am trying to get it to run on a system running MS Small Business Server 2008 (64-bit) and am having trouble registering mscomm32.ocx

I have copied the files mscomm32.ocx and mswinsck.ocx from an XP machine. When I run the command "regsvr32.exe mscomm32.ocx" I get the following error message

The module "mscomm32.ocx" may not compatible with the version of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe.

I get an identical message when I try to register mswinsck.ocx

Can anyone advise me how I can register these or obtain versions of these files which will work on this system.

Thank you
Darren
0
Comment
Question by:daz84
[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 Comments
 
LVL 16

Accepted Solution

by:
ToddBeaulieu earned 2000 total points
ID: 35216338
You're running the 64 bit version of regsvr32 (ironic, huh?).

You need to run the 32 bit version, which is here:

%SystemRoot%\Syswow64 folder.

For example, type the following commands to register the DLL:
cd \windows\syswow64
regsvr32 c:\filename.dll
0
 
LVL 2

Author Comment

by:daz84
ID: 35216564
You, Sir, are a genius. Thank you!

The ocx's registered perfectly but I now have an unrelated issue with wmp.dll

I do have a control which uses wmp but I'm going to disable it now and see if my program runs and uses successfully mscomm successfully.

Back shortly...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

705 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