Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai All,
I am developing vb application in Vb.Net . I am using serialport property in Form1. Now i want to use that same serialport in Form2 .How can i use ....... And also i need to append the Datareceive event in another form . How

AnyBody help me plzzzzzzzz
Posted
Comments
NikulDarji 13-Dec-11 1:30am    
use google for serial port communication tutorials.....

You can create a class for handling Serial communication and do your job in it and just call its methods. To share the serial port handle between many instances of your serial port handler make serial port handle a static property so that it is being shared between multiple instances.

Hope it helps.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900