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

version 10 .net compatibility and registration0  by Guest
 Jul 21 2018 at 01:32:54 PM
Component does not appear in the Additional Controls.7  by Nei
 Jul 10 2018 at 11:24:27 AM
Prologix USB-GPIB Control5  by WK 3260B GPIB
 Jun 26 2018 at 02:44:41 PM
Problem with receiving data from instrument on Excel VBA application1  by Support
 Mar 30 2018 at 12:29:57 PM
Setting DTREnable hangs for 1 second when using LavaLink KMDF ethernet-RS232 driver.10  by Guest
 Mar 13 2018 at 09:16:57 AM
Excel VBA crashes with Scomm32x11  by Guest
 Feb 24 2018 at 12:04:49 AM
how to register scomm32_4_installer2  by Support
 Feb 23 2018 at 03:21:05 PM
SComm32 with usbser.sys in 64 bit win 104  by Bill
 Feb 12 2018 at 04:57:17 PM
Where can I download latest version Scomm32 (Not trial) ?2  by Guest
 Feb 8 2018 at 01:32:41 PM

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