|
-
June 28th, 2005, 06:13 PM
#1
parallel port programming in visual basic 6
hi
i want to know how can i wirite program for turning on and off my LEDs
by writing application in visual basic 6 through parallel port
-
June 28th, 2005, 09:15 PM
#2
Re: parallel port programming in visual basic 6
To talk to the parallel port you can do the following (it assumes there is some device like a printer attached)
Open "LPT1:" For Output Access Write As #1
Print #1, Chr(27); Chr(107); Chr(3); 'font
Print #1, Chr(27); Chr(77); 'pitch 12
Print #1, Chr(27); Chr(120); Chr(1); 'letter quality
Print #1, Text1.Text
Close #1
-
June 28th, 2005, 09:20 PM
#3
Re: parallel port programming in visual basic 6
check out the info here:
http://www.geekhideout.com/iodll.shtml
io.dll is very cool
-
June 29th, 2005, 12:26 AM
#4
Re: parallel port programming in visual basic 6
Is there any straight forward method to do this in Visual C++ 6.0 also..??
let me know..
-
November 22nd, 2005, 12:22 AM
#5
Re: parallel port programming in visual basic 6
hi there..i was just wondring..coz we're in the process of doing our design project "pc controlled switch system for home" and were planning to use visual basic and of course the parallel port..to control appliances..in the project we'll be using an interfacing device and a special type of switch...and there...can u help me..coz i still have no idea in doing this..how to program in parallel port..and do u think its cheaper than using wireless..
thanks...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|