Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: WinSock
Expertise: Beginner
Oct 1, 1996



Application Security Testing: An Integral Part of DevOps

INP/OUT Replacement

I've got to control 3 stepper motors from the printer port. How can I activate pins on the printer port using Visual basic. For Example I want to activate pin number 1, and 2. In Qbasic you say (OUT 888,3), what is the equivelant in Visual Basic?

If you take a look at my File Archives page, there is a file there called INPOUT.ZIP. That will provide you the INP/OUT functionality from QBasic. For VB4.0 you can go to the Microsoft Web site and then to their Knowledge Base page. Look for the article: Q154819 How To Access PC Bus Devices in Visual Basic for Windows

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date