Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C# Programming

C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-29-2008, 04:55 PM
live4nothing live4nothing is offline
Newbie
 
Join Date: Jun 2008
Posts: 1
Rep Power: 0
live4nothing is on a distinguished road
Default Detect USB devices

Hello everyone,
I am working in a project that requires to detect the presence of a USB device. Is there anyway I can detect such event? Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 06-29-2008, 10:58 PM
gaylo565's Avatar   
gaylo565 gaylo565 is offline
Programmer
 
Join Date: May 2007
Location: flagstaff, az
Posts: 156
Last Blog:
String Manipulation wi...
Rep Power: 7
gaylo565 has a spectacular aura aboutgaylo565 has a spectacular aura about
Default Re: Detect USB devices

You need to detect the windows messages that are put out (assuming that you are using windows.) here is a link to a tutorial which explains the basics of wm checking: CodeProject: Detecting USB Drive Removal in a C# Program. Free source code and programming help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging 'Control' Software With Smart Devices Could Optimize Manufacturing Kernel Programming News 0 05-22-2008 07:18 AM
Location Spoofing Possible With WiFi Devices: Positioning System Used By IPhone/iPod Kernel Programming News 0 04-21-2008 07:40 AM
detecting unmounted devices on mac nishad_kumar General Programming 2 10-02-2007 07:30 AM
Detect Mobile Phone Chan JavaScript and CSS 1 09-06-2007 12:04 AM
DirectSound, Two devices with different frequencies UVSoft C and C++ 0 07-26-2006 10:59 AM


All times are GMT -5. The time now is 09:54 AM.

Contest Stats

Xav ........ 162.68
Sacback ........ 120.05
alearb8 ........ 120.05
amr2107 ........ 120.05
tfusion ........ 120
d3s!gn ........ 120
Qoolman21 ........ 120
Pillager ........ 108
antihero ........ 106
donfrench ........ 100.05

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 68%

Ads