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 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
SComm and VB61  by Support
 Jan 30 2018 at 02:37:41 PM
scomm32 control not found: Windows 10/ Access 20105  by Guest2
 Jan 19 2018 at 02:44:41 AM
Excel VBA crashes with Scomm32x11  by Suppprt
 Jan 9 2018 at 10:12:40 AM
What is Comintput property? 1  by Guest
 Dec 6 2017 at 08:01:59 PM
MS Access 2016 64 bit3  by Guest
 Dec 6 2017 at 11:44:28 AM
can't find SComm in additional controls of VB10  by isma
 Nov 15 2017 at 02:42:24 PM
MScomm32 comEvSend event doesn't always fire.3  by Support
 Nov 3 2017 at 01:01:49 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