PDA

View Full Version : emergency!!!



ognjen
06-12-2005, 09:03 PM
I need someone to tell me is there any way of ptogramming parallel port in Visual Basic (6)... Please is emergency!! Thanks!

sumandeep1984
06-13-2005, 10:04 AM
Check this out

http://www.aaroncake.net/electronics/vblpt.htm

ognjen
06-19-2005, 12:37 AM
Thanks man... But there is a problem... every time when i start my app whit this codes... it crashs... Where is the problem... is XP the problem? Thanks

abhishek_sharma
06-19-2005, 01:02 PM
yes xp is the problem. the dll at the aaroan's site will work only in win 98,etc. not xp

rao
06-19-2005, 02:48 PM
Dude...

HEre is the solution to the windows XP parallel port problem..

go to

http://www.logix4u.cjb.net/

check out the parallel port section... and then check the inpout32.dll section...

you will get what you need

Rao
co-admin

ognjen
06-19-2005, 04:54 PM
... but i need something for VB... i`m not good in C++.... Is there something?

ognjen
06-19-2005, 05:01 PM
... there is one more thing that can help me if you can tell me.... i know how to control serial outputs in VB... but i dont know how to get inpouts from serial... is there any way to get inpout bits from serial port in VB...THANKS!

rao
06-19-2005, 10:36 PM
check this Example code for serial input

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/comm98/html/vbobjcommx.asp


Also, check the complete documentation for the MSCOMM control through which you control serial output and input in VB ( I guess you already knew that)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/comm98/html/vbobjcomm.asp


Hope this helps

Rao

ognjen
06-20-2005, 12:28 AM
Thank you very much.... this will help for shure... THANKS!!