I am having trouble using MSComm32.OCX in my VB6 application.
When I attempt to use the set command to create the comm object, like this:
Dim MSComm1 As Object
Set MSComm1 = CreateObject("M SCommLib.MSComm ")
the compiler errors-out with the message "Run-time error 429: ActiveX
comonent can't create object".
The online help indicates this problem can be caused when the MSComm32.OCX
control is not registered. However, I used Regedit to check, and the control
appears to be registered correctly.
I have also used the Project/Components menu to add this control to my
project, and the control shows up as expected when I use the Object Browser.
So, unless I am missing something, the control appears to be installed
correctly.
Any ideas when I can't seem to access this control?
When I attempt to use the set command to create the comm object, like this:
Dim MSComm1 As Object
Set MSComm1 = CreateObject("M SCommLib.MSComm ")
the compiler errors-out with the message "Run-time error 429: ActiveX
comonent can't create object".
The online help indicates this problem can be caused when the MSComm32.OCX
control is not registered. However, I used Regedit to check, and the control
appears to be registered correctly.
I have also used the Project/Components menu to add this control to my
project, and the control shows up as expected when I use the Object Browser.
So, unless I am missing something, the control appears to be installed
correctly.
Any ideas when I can't seem to access this control?
Comment