![]() |
a question require an answer please
hi every one
i'm wroking on a project and i want to know if i can connect between two wires using visual basic (By USB or any way) i want to connect two wires and a lamp and if i pushed Enter for example the lamp will light i want to know if this is possible and how i can make it . thanks for every thing good luck (sorry for my bad english language cause i'm not american) |
Short answer no, long answer not in this scenario.
You need to know the circuitry of the light and have the USB connected to a controller that is able to turn the light on (which almost no lamps in the world have). Then you need to write the low-level (which VB is not) assembler that tells the controller and the computer how to exchange data through the USB port. |
thanks for repiling me but i try to do this project using visual basic not c++
i try to do a program and when you press enter or any code a lamp for example will lit i wish for any one to teach me how to do this and how to make the cables i read that i can do this using lpt port and i wish any one to start with me from the zero point thanks alot and good luck |
you might want to try using something other than visual basic. it might be easier.
|
If really want to do it in VB you could make first a dll in assembly or search the net for such lybraries, I don't know if somebody built a thing like this...
|
| All times are GMT -5. The time now is 10:41 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC