Go Back   Computer Forums > General Computing > Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 05-31-2005, 06:14 AM   #1
In Runtime
bigbondfan's Avatar
Join Date: May 2005
Posts: 195
Default Controlling the parallel port

is there any way to control the parallel port in VB6. I need to individualy change what each pin does (on, off or earth).

bigbondfan is offline   Reply With Quote
Old 05-31-2005, 06:55 AM   #2
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 7,872
Default Re: Controlling the parallel port

the easy answer is no...

there are various ways to control the parallel port using C, but only in windows 98...

wints nt versions (NT 3, 4 2000 and XP) have as hardware protected mode, meaning that you cannot interface with the hardware directly.

you have to go via a dll file to control the hardware, this dll file must be running at ring 0 level privelages...

the easy answer is use the serial port, (com control is available) and if you want a parallel our make or but a serial to parallel converter
root is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 08:32 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0