Contact Info

Crumbtrail

ActiveXperts.com » Serial Port Component

ActiveXperts Serial Port Component

Adding serial communications requires specialized knowledge that might be outside an individual programmer's expertise. For years, developers have relied upon the power and reliability of the ActiveXperts Serial Port Component serial communications control.

  • Easy to use API
  • Control devices over a serial port
  • Single DLL, 64-bit and 32-bit
  • Samples available in C#, VB, ASP.NET, HTML, PHP, Javascript, Delphi and more

Supported Operating Systems

ActiveXperts Network Component runs on all major Windows platforms. The component is just one DLL: AxSerial64.dll. For 32-bit platforms, AxSerial32.dll is also included.

The component runs on the following Windows operating systems:

  • Server platforms: Windows 2022, Windows 2019, Windows 2016, Windows 2012 R2, Windows 2012, Windows 2008 R2, Windows 2008, Windows 2003
  • Desktop platforms: Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP

Screenshots

Sample Applications

[click below to enlarge]

C# Code Sample

[click below to enlarge]

VB.NET Code Sample

[click below to enlarge]

ASP.NET Code Sample

[click below to enlarge]

Features

Use ActiveXperts Serial Port Component for different purposes:

  • To control manufacturing machines via the serial port;
  • To configure network devices (like print-servers, routers) via the serial port;
  • To control a modem, connected to the serial/USB port or Bluetooth;
  • To transfer files through a null modem cable;
  • Any other scenario where serial communications is involved.

ActiveXperts Serial Port Component features the following:

  • Direct COM ports supported (e.g.: 'COM2');
  • Windows Telephony Devices supported (e.g.: 'Standard 9600 bps Modem');
  • Support for RS-232, RS422 and RS485;
  • Up to 256 ports opened simultaneously;
  • Thread-safe to allow the component in multi-threading environments (samples included);
  • Support for Hayes compatible modems, connected via a serial port, USB or Bluetooth;
  • Support for Virtual COM ports (i.e. COM ports redirected through the network);
  • Hardware flow control (RTS/CTS, DTR/DSR);
  • Software flow control (XON/XOFF);
  • Support for any baudrate, parity, stopbits;
  • Full buffered data transfer;
  • Text and Binary data transfer;
  • Advanced logging.

Samples

ActiveXperts Serial Port Component includes samples for many development tools, including:

Visual Basic .NET - Visual C# .NET - ASP .NET VB - ASP .NET CSharp - Visual C++ - Visual Basic 6 - ASP 2.x - PHP - HTML - VBScript - PowerShell - Delphi

This code snippet illustrates how to use ActiveXperts Network Component. It sends out an SMS messaging using a GSM modem with SIM card inserted. For full samples, go to ftp.activexperts-lab.com.

Set objComport = CreateObject("AxSerial.Comport") ' Create a new Comport instance

objComport.Device              = "COM1"           ' Use a COM port directly  
objComport.BaudRate            = 56000            ' Set baudrate (default value: 9600)
objComport.HardwareFlowControl = True             ' Set Hardware Flow Control
objComport.SoftwareFlowControl = False            ' Set Software Flow Control
objComport.Open                                   ' Open the port
Wscript.Echo "Open, result: " & objComport.LastError
If( objComport.LastError <> 0 ) Then
  WScript.Quit
End If

objComport.WriteString( "at&f" )                  ' Write command
str = objComport.ReadString
WScript.Echo "Received: [" & str & "]"            ' Read the response

objComport.Close                                  ' Close the port

Distribution

The core of ActiveXperts Serial Port Component is a ActiveX/COM DLL component is available as a 64-bit DLL and a 32-bit DLL.

  • AxSerial64.dll - the ActiveX/COM component for 64-bit platforms
  • AxSerial32.dll - the ActiveX/COM component for 32-bit platforms

Distribution is easy: copy the DLL(s) to the target platform and register the self-registering DLL using the REGSVR32.EXE Windows command. Click here for more information.

Licensing

All ActiveXperts licenses are are perpetual, which means that a license is paid only once and does not need to be renewed annually. It allows you to use the software for as long you continue to comply with the terms of the license agreement.
First year of Maintenance is included in purchase of a license. Maintenance entitles customers to use ActiveXperts's technical support services, and to receive all product upgrades, free of charge, during a specified Agreement duration.

Pricing

Article License (Perpetual) EURO USD
AX003-0010 ActiveXperts Serial Port Component Standard License € 195.00 $ 225.00
AX003-0012 ActiveXperts Serial Port Component Professional License € 295.00 $ 349.00
AX003-0020 ActiveXperts Serial Port Component Distribution License € 695.00 $ 795.00
NOTE: All licenses are perpetual (licenses will NEVER expire). Pricing includes ONE YEAR maintenance for free. Maintenance covers unlimited support and right to upgrade to a newer version - if any. A maintenance renewal is offered automatically after one year.
Purchase Now (EUR) » | Purchase Now (USD) » | Licensing information »

More information

To read more about ActiveXperts Serial Port Component, use one of the following links:

How to use ActiveXperts Serial Port Component - Online samples - How to digitally sign an ActiveXperts software component - How to distribute an ActiveXperts software component - Release notes - Manual - Download - Serial Communication Tutorial

Support

Click here to enter our Knowledge Base. If you cannot find the answer to your question, please contact our support team via e-mail: support@activexperts.com.