Go Down

Topic: problem with visualbasic 2010 coding (Read 6259 times) previous topic - next topic


Code: [Select]
        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.


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.


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.


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



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"

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131