Comm32 Logo
Home Button   

Topic:   How to add an Scomm32 control at runtime?

By: BobPosted on: Sep 9 2015 at 04:55:05 PM
For MSComm32, I declare something like:
Public WithEvents myPort As MSComm

In the form load event, do something like this:
Set myPort = Controls.Add("mscommlib.mscomm.1", "MScomm", mainForm)

What's the ProgID for Scomm32?
TIA,

By: BobPosted on: Sep 10 2015 at 10:49:22 PM
That'll do the trick. Thanks