troubleshooting Question


Avatar of Eamon
EamonFlag for Ireland asked on
Visual Basic ClassicMicrosoft Access
28 Comments2 Solutions2230 ViewsLast Modified:
Why does this work on my computer

Dim MSComm1 As Object
Set MSComm1 = CreateObject("MSCOMMLib.MSComm")

but it does not work on another computer that has MSCOMM32.OCX in the system32 folder and it is registered.

I get an error Activex component cannot create object.

I do not want to add a reference to the Microsoft Comm Control 6.0 because this would cause errors on other computers that do not have the OCX.

Join our community to see this answer!
Unlock 2 Answers and 28 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 28 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros