Comm32 Serial Communications OCX

 buynow tab comm32 forum

Comm32 is an ActiveX component (ocx) that Software Developers can add to the tool box of their development environment.

Developers using Visual Basic 6 and many other similar environments such as Office/VBA can use Comm32 to quickly add Serial Communications to software projects in 32 and 64 bit versions of Windows 10 and 8/8.1 (Desktop), Windows 7, Vista and XP.

Comm32 has the same property names, methods and syntax as the now unsupported MSComm32 so, in many cases, it takes just a minute or two to add our SComm32 component to a project in place of MSComm without needing to change any of your code or learn any new syntax.

 


Introduction
Install Comm32
Why Not MsComm?

Properties
   .Break
   .CDHolding
   .CommEvent
   .CommName
   .CommPort
   .CTSHolding
   .DSRHolding
   .DTREnable
   .EOFChar
   .EOFEnable
   .EvtChar
   .EvtCharEnable
   .Handshaking
   .InBufferCount
   .InBufferSize
   .Input
   .InputLen
   .InputMode
   .NullDiscard
   .OutBufferCount
   .OutBufferSize
   .OutPut
   .OverlappedIO
   .ParityReplace
   .PortOpen
   .Read
   .RThreshold
   .RTSEnable
   .Settings
   .STHreshold

        

SComm1.CommPort = 23
SComm1.Settings = "9600,n,8,1"
SComm1.PortOpen = True

SComm1.Output = "Hello World"

Do While SComm1.InBufferCount > 0
     Text1.Text = Text1.Text & SComm1.Input
Loop

SComm1.PortOpen = False

'// Use ANY com port
'// Setup the com port
'// Open the com port

'// Send some data

'// Is there any incoming data ?
'// Receive data

'// Close the port

'// Simple ?


 
Problems or questions about Comm32?

Most recent comments in our support forum:-
Encontrar mi bluetooth4
 by Support
 Nov 27 2016 at 04:40:37 PM
Version History / Changes1
 by Support
 Nov 23 2016 at 09:01:13 PM
scomm vba5
 by Guest
 Nov 18 2016 at 07:04:56 PM
Application hangs when the device (interface, modem) is not physically connected to the serial comm port1
 by Guest
 Nov 10 2016 at 07:18:46 PM
error SComm1 = CreateObject("SCommLib.SComm")0
 by German Valdez
 Nov 1 2016 at 03:01:25 AM