I got a lamp controller, which can be connected with computer through serial port. The device is very simple, when decimal value 129 will be sent lamp 1 will be lighted and when value 1 will be sent lamp 1 will be turn off.
I tried with MSComm32.ocx but device is not working. Can anybody help

Sending decimal data to serial device
ShowMeTheMoney
There are several posts over the past few days dealing with serial ports - they seem to be very popular.
You don't need to use the MSComm control, as .NET has one built in. Also, look at these threads as they should help:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=225794&SiteID=1
or
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=228829&SiteID=1
or
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=229019&SiteID=1
Also, one nice thing about these Microsoft forums is that as you start typing a question, at the right hand side of the screen is a list of related questions. That's pretty neat!
Bill (Australia-Melbourne)
Thanks Stephen,
I am working with VB 6.0 and MS Access, I found so many ways to do it, I tried but it did not work. Only I found ComWizard, that is working. Here the device can receive data only and it can not response to send data, it only turn on the switch and shows light on.