Go Down

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

PaulS

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.

arduino_learners

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.

PaulS

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.

arduino_learners

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

tuxduino


arduino_learners

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