Pages: 1 [2]   Go Down
Author Topic: problem with visualbasic 2010 coding  (Read 3520 times)
0 Members and 1 Guest are viewing this topic.
Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48569
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
        System.IO.Ports.SerialPort("COM23", 9600, Parity.None, 8, StopBits.One)
On some versions of Windows, in some software, using "COMnn" as the port name does not work. "COMn" does (a single digit). Why are there so many COM ports on your system? Mine has never used a number higher than 8.

Search the forum (the old one, especially) for "COM port above 9" to see how to use port names with numbers greater than 9. It involves some ridiculous combination of periods and slashes. See if that helps.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

no.because of the error..i cannot compile the code.it gets hang eventhough there are no syntax error stated.maybe it wont works because im receiving the lat and long by a serial comm from the receiver.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48569
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
no.because of the error..i cannot compile the code.
Until now, you've at least implied that the problem was happening when you ran the code.

You'll need to zip up your whole project and attach it as a zip file if you want us to help you debug this.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok.Pauls.how to attach the zip file here.thanks..
Logged

Offline Offline
Edison Member
*
Karma: 26
Posts: 1339
You do some programming to solve a problem, and some to solve it in a particular language. (CC2)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

"Additional options..."
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i will send the code for u to help me debug it.tq.

" sorry for asking a lot of question above as im new in arduino and visual basic"
Logged

Pages: 1 [2]   Go Up
Jump to: