|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered User
![]() ![]() ![]() Join Date: Jun 2002
Location: Philippines
Posts: 325
|
VB help pls...
guys, i need to know how to initialize the parallel port so that i can transmit and receive from it, u know, bidirectional. i was told that i need to initialize it befre i can use the port, i was able to get around this prob b4 by using a third party software. but i want to do it myself, i saw some a prog segment initializing the prllel port, but that code was in VC++,how would you do it in vb? thanks guys
__________________
courtesy of STRIDER....thanks man |
|
|
|
|
|
#2 (permalink) |
|
Banned
![]() ![]() Join Date: May 2004
Posts: 151
|
Hey buddy try this out it helped me in some earlier programs.
http://visualbasic.ittoolbox.com/bro...%2Fvblpt%2Ehtm |
|
|
|
|
|
#3 (permalink) |
|
Registered User
![]() ![]() ![]() Join Date: Jun 2002
Location: Philippines
Posts: 325
|
first, thank you for the reply. i used that dll file when i made the prog. but u see, when i tried using it, i dont know, it wont run properly without using a different software. ok let me clear that up.
the aim is to fetch continuous data from the parallel port, but it doesnt seem to work even with that dll, all i get is 255,255,255,255 then sometimes a lower value after every uh say 8 255's? when its suppose to be a varying values, coz the input was a sine wave. but then i tried running a prog similar to what i made,but this one was made using VC++, then it works! even if i close the other prog,its still working. and its because of the parallel initialization done by the other prog(i kinda ask the person who made the other prog). and i cant seem to find a way to do that in VB(dont know C++). but still, i appreciate it ur help. thanks, any more ideas?
__________________
courtesy of STRIDER....thanks man |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|