MSComm and deploy

  • Thread starter Thread starter Joseph Byrns
  • Start date Start date
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
 
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.
 
Hi Joseph,

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

Best regards,
Wencheng
 
Back
Top