MSComm and deploy

J

Joseph Byrns

I have written an app that uses the MSComm ocx, the .NET IDE creates a
Interop.MSCOmmLib.dll wrapper. I copy the executable and the wrapper to the
client machine, but the application fails to run, presumably this is because
the MSComm ocx is not registered on the target machine, my question is how
to I deploy the application when it is using MSComm? I have never
registered an ActiveX before.

Thanks,

Joseph
 
J

Joseph Byrns

This can be solved by settings the registry as:

// Comm Control 6.0 license key
HKEY_CLASSES_ROOT\Licenses\4250E830-6AC2-11cf-8ADB-00AA00C00905 =
kjljvjjjoquqmjjjvpqqkqmqykypoqjquoun

Found on microsoft.com somewhere.
 
W

Wencheng Magiya

Hi Joseph,

You can register MSCOMM.OCX during installation:
Add MSCOMM.OCX in your deployment project, setting Register property to
vsdrfCOMSelfReg.

Best regards,
Wencheng
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top