HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Programming, Coding, (Web)Design


Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people.

Reply
 
Thread Tools
Old Sep 22, 2006, 01:48 PM   #1
DriverHeaven Newbie
 
Join Date: Aug 2006
Posts: 12
Rep Power: 0
Sojourner is on a distinguished road

External I/O in Visual Studio 2005

Anybody know where I can find instruction topics on getting data from external devices in C# programming via VS2005? Help library and google searches have turned up very little. I'd be quite happy to learn for myself without bugging people if only I could find the bloody material.

I'm particularly thinking about (very retro) parallel and serial port-based data logging devices for a scientific graphing application. I did find a couple of articles on parallel ports, but the writer's english was so bad I couldn't figure out what he was using and why.
__________________
Athlon 64 3200+
1GB Kingston DDR400
Abit KV8 Pro
Sapphire Radeon X800 Pro 512MB AGP
Sojourner is offline   Reply With Quote


Old Oct 24, 2006, 02:47 AM   #2
DriverHeaven Junior Member
 
Join Date: Oct 2004
Posts: 84
Rep Power: 0
Scar_T is on a distinguished road

Under Windows XP/2000 you can't freely access to port from an user application, you need to use a driver. You can use IO.dll (http://www.geekhideout.com/iodll.shtml) for that purpose, it is free (for non commercial usage) and it has examples for using it with VB and VC++.

I hope you can use it with C# aswell, unfortunately I don't know too much about this language so I can't tell you how to use it in from a C# application.
__________________
Scar_T - Parasite Coder
Scar_T is offline   Reply With Quote
Old Nov 3, 2006, 09:06 PM Threadstarter Thread Starter   #3
DriverHeaven Newbie
 
Join Date: Aug 2006
Posts: 12
Rep Power: 0
Sojourner is on a distinguished road

Thanks - that's the kind of answer I was looking for. It does explain why I'm finding these things so complicated. It's going to take a bit of effort to work out how to use this .dll, though, as I'm a real programming rookie.
__________________
Athlon 64 3200+
1GB Kingston DDR400
Abit KV8 Pro
Sapphire Radeon X800 Pro 512MB AGP
Sojourner is offline   Reply With Quote
Reply

Thread Tools