Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

keyword comparison

keyword comparison

keyword comparison

does anyone know how the keyword "out" in quickbasic is now implemented in vb6 ?

RE: keyword comparison

What did the "out" command do?

Evan T. Basalik, MCSD
It's all about prioritization...

RE: keyword comparison

As in parellel port output?

       "If you don't use your head,            
                   your going to have to use your feet."

RE: keyword comparison

As I recall, the OUT command posted a byte value directly to a hardware port. In general, Windows (at least in the last 5 years) is designed to prevent direct access to hardware features.

Good Luck
To get the best from these forums read FAQ731-376 before posting

UK steam enthusiasts: www.essexsteam.co.uk

RE: keyword comparison

johnwm is correct. I used to write and read directly to a digital input/output circuit board. example in hex....
out &h200,&h2 would make bit 2 of port 200 go high or turn on. inputs would be inp(&h200). I just assumed there has to be a way to still write applications for these boards. They
are actually quite versatile. 16 inputs and 16 outputs. Quite a bit of control to the outside world with this.
Any thoughts now with a little more detail?


RE: keyword comparison

To read & write to the ports in VB6 you need a dll called inpout32.dll   You can download it from the web : http://www.logix4u.net/

There are also example programs etc.

Hope this helps.

Good luck with your projects.


RE: keyword comparison

thank you a hundred times over robingobyn , that was exactly what I have been looking for. I posted this question on another forum 6 months ago and never got any response! Thanks to all for taking the time to help/read.

RE: keyword comparison

There are a number of well-known 'gotchas' associated with inpout32.dll. For more info on hardware interfacing try:

Good Luck
To get the best from these forums read FAQ731-376 before posting

UK steam enthusiasts: www.essexsteam.co.uk

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close