?
Solved

Direct I/O port control from VB or linking MASM to VB6

Posted on 2003-03-09
2
Medium Priority
?
219 Views
Last Modified: 2013-12-25
Does anyone know an easy way of directly controlling an I/O port?  I have a custom board that populates an address range that allows me to control 8-8 bit ports.  I need to read and write directly to these port.  My old code was written in a combination of VB for DOS and MASM.  I did most of my control functions through MASM and called them from VB.  I could use the code if there is a way of linking my OBJ file to my VB6 program.

This will need to run on XP.
0
Comment
Question by:billjbs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
hj2k3 earned 300 total points
ID: 8102403
i've also looked into this a while ago, and found http://www.zealsoftstudio.com/ntport/
i have windows 98 but it should work on windows XP too

hope you find this useful!
0
 
LVL 6

Expert Comment

by:GPrentice00
ID: 9053211
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

 -->Accept hj2k3's comment as Answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question