URGENT: ComCtl error for port 16 or greater 
Author Message
 URGENT: ComCtl error for port 16 or greater

I'm getting an error 8002 "Invalid port number" when setting the CommCtl (VB6
SP4) port number property to any number over 16.
I have a modem bank that implements 48 COM ports out of a couple of T-1s.
Article Q142002 mentions the problem but it was last updated on 11/29/00. The
problem is mentioned for VB4. Is there a fix for VB6?

If a fix does not exist, will it work if I use the Win32 API calls, instead of
the control itself?

Please advise urgently

Mon, 08 Sep 2003 06:41:31 GMT  
 URGENT: ComCtl error for port 16 or greater
Based on my research, the KB article is also right for VB6. A workaround is
to use a third-party software, such as PDQComm.OCX which is available from
Crescent (203-431-4626) and supports up to 99 comm ports. Using the
Win32API will not have such limitation, but need more effort to write code.

Mon, 08 Sep 2003 09:47:30 GMT  
 [ 2 post ] 

 Relevant Pages 

1. 16-bit app under win32 parallel port problems

2. QB 4.5: reading 16 bit from a port

3. VB4 16-bit and parallel port

4. 16-bit I/O port reads from basic?

5. VBDOS 16-bit port output

6. writing 16 bits to hardware ports

7. URGENT: need to open an Access 95 database from VB4-16

8. MsComm - Only 16 Ports ?

9. Getting more than 16 ports with MSCOMM control

10. VB4 16-bit and parallel port

11. MSCOMM limitation: ports 1 to 16 only

12. Porting 16 bit VBX to 32 bit OCX


Powered by phpBB® Forum Software