Forum - Info Center - Eltima Software

Eltima Help Center => Software for Serial and USB communication => Topic started by: tompat on February 20, 2013, 07:39:21 PM

Title: Serial Port ActiveX - CountPorts = 0
Post by: tompat on February 20, 2013, 07:39:21 PM
Hello,

I have just downloaded your Serial Port ActiveX Control 4.0 and am running the MS Access "Test" application. On Form Load the CountPorts method is called, but is returning 0 ports.

Am I doing something wrong?

Many thanks,

Tom
Title: Re: Serial Port ActiveX - CountPorts = 0
Post by: alexander-britt on February 21, 2013, 09:45:33 AM
Hello Tom,

CountPorts property returns the total number of serial ports currently present in the system. Its returning 0 means that none are available.
Title: Re: Serial Port ActiveX - CountPorts = 0
Post by: tompat on February 21, 2013, 11:22:21 AM
Thanks Alexander,

Of course, in my haste yesterday I think I went down completely the wrong path. What I'm trying to achieve is to read data into Access from a USB Digital Postage Scale. Looks like the Eltima ActiveX will only help if we're using a serial device, unless I'm missing something?


Title: Re: Serial Port ActiveX - CountPorts = 0
Post by: alexander-britt on February 21, 2013, 12:57:54 PM
Quote
What I'm trying to achieve is to read data into Access from a USB Digital Postage Scale. Looks like the Eltima ActiveX will only help if we're using a serial device

Right, Serial Port ActiveX Control is designed to work with serial ports/devices only. Unfortunately we don't have anything similar for USB devices.