Vb6 Serial Port Sniffer Source Code
You could browse the API and see if there is away to read from the buffer on the UART without destroying the data assuming you can hook into the hardware interrupt it generates. The MSComm control won't help as it requires exclusive access to the port. Do you have any recourse to the source code of the program whose data you are wanting to get at? John Warner -----Original Message----- From: VBtoolsAssistance via visualbasic-l [mailto:visualbasic-l@Groups.ITtoolbox.com] Sent: Monday, November 03, 2008 6:20 AM To: john Subject: [visualbasic-l] Listen To Serial Comm Port Posted by VBtoolsAssistance (Mr.) on 06:25:00 AM Hello.
I need to write a program that listen to the Serial comm Port used by another application. Can it be done with VB6?
Has some reasonably priced tools that permit you to sniff and even share a serial port. (To me, anything under a hundred bucks is 'reasonably priced'.) From: visualbasic-l@Groups.ITtoolbox.comTo: ibsteve2u@hotmail.comSubject: RE: [visualbasic-l] Listen To Serial Comm PortDate: Mon, 3 Nov 2008 08:38:21 -0500 I doubt it. You could browse the API and see if there is away to read from the buffer on the UART without destroying the data assuming you can hook into the hardware interrupt it generates. The MSComm control won't help as it requires exclusive access to the port. Do you have any recourse to the source code of the program whose data you are wanting to get at?
CAN232 do not require a special COM port driver, since COM ports can be read and written to without any. Sample code in source code which we made or others have provided to us. C# CAN232 Monitor Lite (Version 1.0.0, 32bit Windows Installer). To be able to compile and change the code you need the VB6.
John Warner -----Original Message----- From: VBtoolsAssistance via visualbasic-l [mailto:visualbasic-l@Groups.ITtoolbox.com] Sent: Monday, November 03, 2008 6:20 AM To: john Subject: [visualbasic-l] Listen To Serial Comm Port Hello. I need to write a program that listen to the Serial comm Port used by another application. Can it be done with VB6? Avi, Try using a second RS232 port and a diode or two, you can then listen to both the input and output from the applications port.
I have done this many times and the code required to read the input(s) on the second port is very simple. Best, Peter G. -----Original Message----- From: john via visualbasic-l [mailto:visualbasic-l@Groups.ITtoolbox.com] Sent: November 3, 2008 8:38 AM To: petermg Subject: RE: [visualbasic-l] Listen To Serial Comm Port Posted by john on 08:34:00 AM I doubt it. You could browse the API and see if there is away to read from the buffer on the UART without destroying the data assuming you can hook into the hardware interrupt it generates. The MSComm control won't help as it requires exclusive access to the port. Do you have any recourse to the source code of the program whose data you are wanting to get at? John Warner -----Original Message----- From: VBtoolsAssistance via visualbasic-l [mailto:visualbasic-l@Groups.ITtoolbox.com] Sent: Monday, November 03, 2008 6:20 AM To: john Subject: [visualbasic-l] Listen To Serial Comm Port Hello.
I need to write a program that listen to the Serial comm Port used by another application. Can it be done with VB6? I had no idea this could be done without digging into hardware extraction layer in Windows. I wonder how they read the UART without 'destroying' the data. If it works of course, who cares.:-) John Warner -----Original Message----- From: ibsteve2u via visualbasic-l [mailto:visualbasic-l@Groups.ITtoolbox.com] Sent: Monday, November 03, 2008 9:11 AM To: john Subject: RE: [visualbasic-l] Listen To Serial Comm Port Posted by ibsteve2u (Consultant) on 09:05:00 AM has some reasonably priced tools that permit you to sniff and even share a serial port.
(To me, anything under a hundred bucks is 'reasonably priced'.) From: visualbasic-l@Groups.ITtoolbox.comTo: ibsteve2u@hotmail.comSubject: RE: [visualbasic-l] Listen To Serial Comm PortDate: Mon, 3 Nov 2008 08:38:21 -0500 I doubt it. You could browse the API and see if there is away to read from the buffer on the UART without destroying the data assuming you can hook into the hardware interrupt it generates. The MSComm control won't help as it requires exclusive access to the port. Do you have any recourse to the source code of the program whose data you are wanting to get at? John Warner -----Original Message----- From: VBtoolsAssistance via visualbasic-l [mailto:visualbasic-l@Groups.ITtoolbox.com] Sent: Monday, November 03, 2008 6:20 AM To: john Subject: [visualbasic-l] Listen To Serial Comm Port Hello.
I need to write a program that listen to the Serial comm Port used by another application. Can it be done with VB6?