Ive got a big problem.
I need to read data from the serial port
Ive used serialport from the toolbox , but dont know how to use it.
I used to do it on a Amiga like this

open serial("serial.device".0.2400.0) rem(open port)
repeat GW.w=readserial(0)
if gw>29 and gw<128
gewicht$=gewicht$+chr$(gw) rem(at to string)
until gw=10 or gw=13 rem (stop at linefeed or return)
Closeserial 0

Now VB suposed to be easy , well i cant find it
Plzzzz help me

7 Years
Discussion Span
Last Post by albay
Featured Replies
  • 1
    __avd 1,826   7 Years Ago

    Take a look at this tutorial - [URL="http://www.dreamincode.net/forums/showtopic37361.htm"]http://www.dreamincode.net/forums/showtopic37361.htm[/URL] Read More


Thxs for your quick reply.
But i still got the problem to generate the correct code for my own program.
It's hard for me to find the part that i really need
I only need to read some data from a weigth scale
Can You please help me with that ?



I am just wondering if you are still having problems with the serial port. If so, I developed a serial port programming language in C# and I believe it solves nearly all of the problems that everybody encounters with.

Would you please take a look and try it ?

Project is freely available on sourceforge and if you have any questions, please feel free to ask.

Project homepage
Download Link

Thank you,


This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.