Ask the Expert

How can I send output circuits in Windows XP using VB.NET?

How can I send output circuits in Windows XP using VB.NET? Is there a function just like outportb or outp_ in VB.NET to access the ports of your computer?

Requires Free Membership to View

Direct hardware access is prohibited on Windows NT-based operating systems (Windows 2000, Windows XP, Windows Server 2003). This is not a limitation of .NET at all. In order to talk to hardware under NT-based operating systems, you'll need to interface through the DeviceIoControl function to talk to a device driver you'll need to write for that particular piece of hardware.

This was first published in January 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: