Accessing a weight reading from an electronic scale that's connected to a 9 pin serial port

I'm writing (or should I say "rewriting") a simple program that uses the weight on a scale to help count parts in our warehouse. I've got the program working currently, but you have to manually enter the weight into the text boxes in order for it to make the final calculation at the end. You have to enter manually 3 different weights: 1.> Empty Box  2.> Box with 25 pieces  3.> Full box.

I'd like to be able to add a button next to each text box (where you normally entered it manually) that would "capture" the reading on the scale and import that value into the required text box. This would eliminate human errors from typing and save someone from having to glance the scale 3 times per session.

I've browsed this site for solutions and most that I saw had to do with serial modems, ect..

Anyone ever accomplished this small feat and could lend me some knowledge?

Thanks!

Jason Krueger
jakr99@aol.com
jakr99Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GrahamSkanRetiredCommented:
You should use the MSComm control. The only compatible device that most users have (including myself) to develop and test with is a modem.

The difference will be in the messages that are passed between your device and your PC. You will need have a knowledge of the device's message protocol. Hopefully you have some technical documentation to work with.

I suggest that you start with one of the modem solutions and adapt it. This is one that I understand:

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20859694.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.