another comport question: capture input on com1 -
how can I capture the input on the com1 port, created by a device on this port?
I tried to just open the com port and then display the input you get, but I can only capture data I send myself to the port.
How can I capture ALL the incoming data?
Thanks
another comport question: capture input on com1 -
how can I capture the input on the com1 port, created by a device on this port?
I tried to just open the com port and then display the input you get, but I can only capture data I send myself to the port.
How can I capture ALL the incoming data?
Thanks
Comport in a DLL -
I want to create a DLL that uses the comport.
The comport parameters (baudrate etc) should be set inside the DLL.
My question is: How do I do this?
Can I create a form (that never shows) in the AtiveX DLL-project and place a Comport Control on that one, and then
use this comport in
Comport in DLL -
I want to produce an ActiveX DLL.
I want the DLL to contain a comport module.
I want to set the comport parameters from within the DLL.
How do I attach the comport to the DLL?
Reading in Data from Comm Port 1.. HELP!! -
Hi...
This is an update to my last question.. I was actually trying to read in data from a device using say comm port 1 and uses a protocol called RB8192
before (in dos programming i used to open up the port like this :
where comport$ = "COM1:9600,O,7,2,RB8192"
Comport >2 -
I am using an USB to serial dongle which is creating a virtual serial port COM4.But unfortunately VB6 does not recognize COMPORT no. more than 2......the following snippet generates an error at the highlighted line(Accepts only 1/2):
With MSComm1
.Settings = "9600,n,8,4&qu
send hex data through to the comport -
Hi,
I have an external projector attached to comport 2, the data it's expecting is a hex string (for instance
BE EF 03 06 00 2A D3 01 00 00 60 00 00 switches it off) I've got a very basic form to send data to the comport after it's configured correctly, but how do I tell the compo
write in a program -
hi there,
maby it is a stupid question but my program is connected to a device on a comport en it changes sometimes it is com 1 or com 2
is there a way to write in the program so when a select com1 that he always stands on com 1. that means when i close the program en start it agai
Sharing RS232 Comm Port between programs. -
I am writing a program that will access COM2, make a call to a remote modem, and then attempt to handoff the modem connection to a separate application.
Is there any way to release the COMPort, with out hanging up the modem line? Or is there some way using threading to put the COMP
[2005] serialnet IO exception -
hi.
i've been trying to develop an app that uses the serialnet component.
i've had limited success, i've been able to recieved the correct data from the device.
but while i was debugging i came across this error and i can't read nothing anymore.
Quote:
CAPTURE DATA FROM COM1 or COM2 -
Please help on CAPTURING DATA FROM COM1 or COM2 then place it to a textbox on a form...
Thanks!!!
A question about MSCOMM -
Okay, here's my little problem:
I made a connection to COM1, now I want to wait until the device that is attached to COM1 will send me let's say 10 bytes, when he does I want to continiue and if he doesn't send me anything within let's say 2 seconds I want to make an alert.
now my qu
Problems with COM ports -
Brief Description
I am trying to code a piece of software that will load a text file from a directory, then send that data out to a com port.
The Problem
I get an error on the machine that points to the BAUD rate being incorrect, yet I am confident that the BAUD is set correctly.
Combo Droplist Box -
Is it possible to set the text in a combobox when in droplist style.
cmbComPort= ComPort
This produces and error "383" Text propertyis read only.
ComPort is a public string that gets it string from a getsetting
ComPort = GetSetting("KWSRaceEngineering", &
Send Byte (Binary Data ) From Comport -
Hi
i want to send 1C hex via comport and then FE hex
for example :
Comport1.Output ?
how can i send byte via comport ?
thanks for help
Remember the last ComPort used -
Hello,
I have a small RS232 program that run well , but I would like when the user have make a choice : COM1 ; COM2 ; COM3 ; etc , that the next time he or she is using this program the same port is used again.
Can I do this in the registry and if yes how ?
Thank you for your
Using Comport in VB6.0 -
How to use comport in vb6.0 control terminal eqiupment ?
Please help...trouble with accessing COM object -
I have two COM objects, lets call them com1 and com2. I create instance of both objects through early binding like so:
dim a as com1.Class1
a = new com1.Class1
dim b as com2.Class1
b = new com2.Class1 '<--stops right here
the first part(com1) compiles just fine, but
VB6, MSComm, Serial ports -
Has anybody used COM ports, MSComm1, and detecting serial ports Read UP!!!
Is this the right forum to be talking about COM ports or is COM and AciveX mean something else?
Does anybody know how to find out what COM ports are available on a computer using VB6. I found out that the
VB-DOS 1.0 - I need a function... -
Ok, I was wondering, if anyone has in their possession a set of functions to properly recieve data from a MODEM connection in Visual Basic DOS 1.0. I am having extensive troubles working with it... All I can do up to this point without buggin' things up is as follows:
Code:
OPEN
Capture keyboard input -
Hello there, I need to make a program that can capture keyboard input from any window that has input focus. Anybody can help me out with some piece of code?
comport -
can any one tell me how to configure the comport with V.B.
I have posted this question several times but no one has replied yet.Can anyone can help me soon because I am working on a project in V.B which requires configuring the com port.I thank anyone who helps me.kindly send me the c
Serial Comunication -
I Need to now if its possible to switch on Relays threw the comport. Or if there is some way that I can get 12 volt send to the comport with the MSComm - component
My aim is to open a Electro Magnetic Lock for a gate. Pleas let me now of the easiest way to do this or where i can get
Communication with Serial Device -
Hi everyone, I am having a problem and I know that you can be of some help.
I am trying to communicate with a serial device using a visual basic script. The object is an incubator, and it processes commands which we believe to be simply serial data (strings) and will attempt some f
com port -
Is there a way to find out how many com ports are available ???
Because in my program I have a function that changes which COMPORT that is used...
I want options for com 3 and 4 which are sometimes not available.
When i choose this option I get this error: invalid comport num
Get the COM1 informations... -
Can we get the COM1 informations with VB please ?
Because i have a unit connected to my COM1 and I want to get the informations and display it...
If someone could help....
Thank you
Cosi
createfile to open comm port... -
I am writing a program to receive data from a serial device. Works great on my win2k pro machine, but my win98se machine won't open com1.
Here's my code:
hCom = CreateFile("COM1:", GENERIC_READ, 0, Null, OPEN_EXISTING, 0, 0)
If hCom <= 0 Then Exit Sub
...
On
how to detect comport in vb 6 -
com port changes in every comp if we attaches USB Serial port so i want to detect comport. please give me code in vb
VB6, more than one rs232 serial port -
Does any body have more than one rs232 serial port on there computer? I am trying to find out if all rs232 serial ports are listed in a particular place in the regestry. I beleive I have two serial ports on my computer and its on COM1 and COM2. But the one on COM2 is being used by the
Changing file name within API call -
Hi
I use the following code to record MIC input to WAV file :
Private Declare Function mciSendString Lib "winmm.dll" Alias _
"mciSendStringA" (ByVal lpstrCommand As String, ByVal _
lpstrReturnString As Any, ByVal uReturnLength As Long, ByVal _
hwndCallba
Programs hangs when reading COM1 -
I'm building a simple program that send a command to another computer via the RS232. Right now i'm testing the program locally on my machine using a Serial feedback loop connector. I know the connector works because the com port sniffer i'm using returns what i sent. Now when i send
Ascii capture via RS232 port -
Greetings
I am currently using HyperTerm to collect data sent via the com1 serial port. The data is sent in ASCII format is is fine for what I need.
Cutting and pasting the data after its in Hyperterm is a major pain in the butt.
I would like to find a module or script that I
Greenleaf -
Does any one know how to use the Greenleaf libraries in Visual Basic .Net. I have seen a lot with C++, but nothing for VB. I am looking to create a program to use a modem to transfer files.
Here is C++ code that I have found for a serial port.
#include
#include "compplib.
Visual Basic, COM1 -
hey,
I have been looking into putting my electronics skills together with my programming skills. I have looked into using LPT1 with visual basic to print to the printer.
What im looking for is more information into using hardware with COM1. As in creating a circuit that you could
Comport or Ethernet -
Dear Experts,
I am programming a software for a hardware interfaced using either the comport or the ethernet.
I am now specifying in my software whether the harware device has to be connected using comport or the ethernet and then i am clicking on connect button t
'pause' incoming connection -
Hey guys!
this s doing my head in:
I have established an incoming connection in WindowsXP.. this is waiting for a connection on a modem attached to COM1...
now I want to be able to execute a function that 'pauses' this incoming connection.. ie. frees up the COM1 port, then I
Hiding console input -
I'm working on a console application where you have to enter in a username and password for a database and I was hoping to make it so when the user enters their password in, it isn't visible in the console window.
I think I can figure out how to do it but the problem is I'm not sure
File Input (String) to array -
I am trying to write a program that reads values from a datafile and makes the data available in an array for further use in the program.
The data consist of a description and then a value (COM_PORT=COM1, for example). My idea is to put the data in an array so that I can just search t
switching through com1,com2 or lpt1 -
hello,
What I'm trying to do is to activate a switch outside my computer using com1/2 or lpt1.
Please help me.
Thanks.
Partial screen capture via xy and height/width parameters -
VB gurus please help:
I want to capture an area of the screen providing the routine xy coordinates and the height and width of the screen area. This capture would be at intervals and once captured comparing the image area captured to a database of .bmp files (small images of approxi
trace messages sent to com1 -
hi!
does anybody know out there how to capture all messages an external app (i haven't wrote) sends to com port 1?
thnx!