SComm32 Communications OCX. A replacement for the MSComm32 OCX

     

Properties and Methods

SComm32 OCX is an ActiveX component (OCX) that software developers can add to the tool box of their development environment in place of Microsoft's MSComm32 component.

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

SComm32 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 MSComm32 without needing to change any of your code or learn any new syntax.

 
SComm1.CommPort = 23 '// Use Any Com Port
SComm1.Settings = "9600,n,8,1" '// Setup the Com Port
SComm1.PortOpen = True '// Open the Port
   
SComm1.Output = "Hello World" '// Send some data
   
Do While SComm1.InBufferCount > 0) '// Is there any incoming data?
    Text1.Text = Text1.Text & SComm1.Input '// Receive Data
Loop  
   
SComm1.PortOpen = False '// Close the port.
   
  '// Simple ?

 
SComm1.CommPort = 23
'// Use Any Com Port
SComm1.Settings = "9600,n,8,1"
'// Setup the com port
SComm1.PortOpen = True
'// Open the port
 
SComm1.Output = "Hello World"
'// Send some data
Do While SComm1.InBufferCount > 0)
'// is there any incoming data?
    Text1.Text = Text1.Text & SComm1.Input
Loop
 
SComm1.PortOpen = False
'// Close the port
 
'// Simple ??



Most Recent Topics in the SComm32 Support Forum.

 
Topic Posts Date/Time

SComm32 with VS2008 and Win103  by MEA
 Jun 18 2017 at 04:00:34 PM
About to test SComm. Can't choose from eclipse1  by Guest
 Jun 13 2017 at 11:00:53 AM
Error, can't get the Regestryproperty2  by Guest
 Jun 8 2017 at 07:12:12 PM
Win 10 error 8002, invalid port number4  by Support
 Jun 1 2017 at 11:31:26 AM
software0  by Guest
 May 28 2017 at 08:47:58 PM
SComm32 vs MSComm performance wise?!3  by Guest
 May 24 2017 at 07:06:07 PM
Sending "Carriage Return" with Scomm321  by Guest
 May 12 2017 at 08:20:04 PM
Win10 Pro 64-bit, VB6 program using Comm32 version 3.20, and Prolific USB-Serial4  by Guest
 May 11 2017 at 09:02:50 PM
VB6 and usb-rs232 converter1  by Guest
 Apr 14 2017 at 08:17:01 AM

Properties/Methods
. 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

OnComm Event
Hardware/Cables etc
Loopback Test Plug

Install SComm OnComm Event Cables etc Test Plug

SComm32 Properties and Methods.

Break CDHolding Commevent CommPort CTSHolding DSRHolding DTREnable EOFEnable Handshaking InBufferCount InBufferSize Input InputLen InputMode NullDiscard OutBufferCount OutBufferSize Output ParityReplace PortOpen RThreshold RTSEnable Settings SThreshold