Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   a question require an answer please (http://www.programmingforums.org/showthread.php?t=6906)

aya brea Nov 9th, 2005 1:26 PM

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)

iignotus Nov 9th, 2005 1:40 PM

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.

aya brea Nov 10th, 2005 5:22 PM

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

crawforddavid2006 Nov 10th, 2005 8:37 PM

you might want to try using something other than visual basic. it might be easier.

ivan Nov 11th, 2005 7:20 AM

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