How can I send an 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?
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 December 2003

Dig deeper on Visual Basic 6 programming language

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



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: