Somebody please tell me how to implement SLIP? I have no much idea about it. I dont know how i must start with it. It would be of great help if someone can help me as to how to start..
Sushmadm
Posts
-
SLIP protocol implementation -
Is there any alternative for doeventThank you very much for your response. I cannot go for .Net. I must implement it only in VB. Can you give me more details on how to make the GUI responsive while running a long task. Thanx and Regards, Sushma
-
Is there any alternative for doeventHi all, I have implemented Uploading and downloading data though serial communication. During the time of Uploading/Downloading there will be continuous exchange of data. Hence any other action on my GUI during Upload or Download operation will not be allowed (like Minimising/Maximising the form and Exitibng from the form).The GUI will hang untill the operation is complete. So to make the GUI flexible for the user i have used DoEvents in my program which will be called at some particular locations. This solved my problem. But i heard that using DoEvent may result in some problem. As the DoEvents performs all the events which are pending in the windows message queue, it may hang my application if there is an event which consumes lot of time.Please someone help me with solving this problem:(. Thanks in Advance, Sushma
-
detect USB cable connected to USB port???thanx so much for responding to my post. i cant even figure out if the USB port is empty? i will tell u in detail what i am supposed to do in my program. ->There are two options in my GUI, Serial Port or USB port. Depending on which port the user selects i must transmit data through that port. -> If the user selects Serial port it is pretty simple as even the COM port will be selected by the user. -> As i had mentioned longback that i am using "USB to RS232 converter" which makes USB port look like a COM port and some COM port number(other than the available physical ports) will be allocated to USB port by the software. ->If USB is selected by the user then i must be able to display an error if the cable is not connected and the user is trying to communicate through that. -> Usually the last valid port will be the COM port allocated to USB port by the software(USB to RS232 converter). The COM port will be allocated to USB port only after a USB cable is plugged in to the USB port. -> In my program i will be finding out the last valid port available and that port i will be using for communicating through USB.In case if the USB cable is not plugged in then i will assume someother physical port as the one allocated for USB port.To avoid this error i must find a method by which i can find out what is the COM port number allocated by the software to USB. I am not able to find any method for this :confused: . So i thought it will be better if i am atleast able to find out whether USB port is plugged in with a USB cable:~ Hope you got what is my problem:(
-
detect USB cable connected to USB port???Hi all, Is there any method by which i can find out if a USB cable is connected to USB port through VB program. It would of great help if someone can guide me with this. Thanx in advance, sushma
-
How to find whether a cable is connected to USB port?Hi All, I am using "USB to serial port converter" to program my USB port.As soon as the USB cable is plugged-in the driver installed allocates a COM port number to the USB Port. So usually the last allocated port number is for USB.In my program when the user opts for communiocation over USB port i will find all the valid ports in the pc and assume the last port number as the USB port number.If the USB cable is not connected then no COM Port number is allocated to USB port.So the method i am using to find out the COM port number allocatted USB port is not robust method. So i just want to know whether there is any method to find out the USB cable connected to the USB port through VB code.. Somebody help me with this. Thanx in Advance, Sushma
-
USBHi Dave, Thanks so much for all ur suggestions. I have baught a USB cable which comes along with a driver.The driver after installed creates a COM port for USB port as soon as the USB cable is plugged in.Hence i can access the USB port just like a com port. It made my job very easy! Thanx again, Sushma
-
USBThanks so much for ur suggestion.It will be of great help to me. Thanx again, Sushma
-
USBThanks so much for ur suggestion.Please tell me which driver software i must install?What is the cost of the driver software?What are the necessary steps to be followed after installing that?.I have worked on RS232 serial communication using MScomm activex control in VB.I just want to know whether i will be able to implement the same with USB? Will the driver software be flexible like an activex control?. Initially i will be working on PC to PC communication.Later on i must write program for establishing communication between PC and Hand Held Controller.Please do help me with this, i will be very greatful to u. Thanx again, Sushma
-
USBHi Dave, I got few modules(hidinterface,osinterface,USBmAPI) and DLLs(USBm.dll,APIGID32.DLL).I got these from intel site(u may be knowing about these). Cant i work on my program using these?
-
USBThanx so much for responding to my post.I must establish communication between two PCs through USB port.I have no idea of how to go about it.Please tell me what are the pre-requisits for programming a USB port. Thanx again, sushma
-
USBHi all, Can someone tell me how to use USB port for communication in VB? Thanks in advance, sushma
-
How to create thread in VBHi all, i want to learn the concept of threads in VB.Somebody please help me with this. Thanks in advance, Sushma
-
is there any method by which we can change RecordCount in VB???Hi, I am using DataGrid control to save some records.Is there anymethod by which i can change the RecordCount by which i can read the record of my choice.I tried to assign some value to recordcount but it got runtime error telling that its read-only variable.Somebody please help me with this. Thanks in advance, Sushma
-
How to start with creating Device DriversI want to learn the concept of device drivers and then write a program on how to create it using VC++.Can someone tell me how to go about it? thanks in advance Sushma