|
-
May 28th, 2006, 09:11 PM
#1
Thread Starter
New Member
com port question
I have set the com port as new rs232, this is the code i wrote "Private m_CommPort As New Rs232" but when i compile it say rs 232 is not defined, wat is the code shld i write to define it?
-
May 29th, 2006, 05:58 AM
#2
Re: com port question
Where does "rs232" come from?
-
May 29th, 2006, 10:11 PM
#3
Re: com port question
Put an MSCOMM control on your form. Look in the help file for sample code - they have pretty good samples for sending and receiving data. You could just copy those routines and change what you need (COM port, speed, etc.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|