By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,857 Members | 1,793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,857 IT Pros & Developers. It's quick & easy.

Error: Excpetion in USing MScomm control in vb.net 2005

P: 2
HI,

I have develop a apllication , To store the GPS data in database, for that , to read GPS data I have used the Mscomm port,

In which I create the object of class RS232
n open that port,
n store the data in to one string type variable , msStr

but some time it store the Mscomminput, n some times it stores nothing, but in mscomm.input will have a GPS data,
why it is So?
n also, it gives n exception: in the line;
mscomm.PortOpen = True
plz, Give me the solution.

thanx



mscomm.PortOpen = True
msStr = mscomm.Input
Sep 13 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.