Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > Tools

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2010, 08:38 AM
SilverBoy SilverBoy is offline
Member
 
Join Date: Jun 2010
Posts: 46
Cool USB Detector compoenent

Hi ,

Last day i need to detect wich USB device connected to or disconnected from computer in my project , so i wrote this component .

The component has two events :
1. OnArrival
2. OnRemoved

Note : Both events has same parameters , you can get drive name of connected USB device in OnArrival or disconnected USB device OnRemoved event from Drive parameter , Drive parameter return drive name as string type .

Regards , Mojtaba Tajik
Attached Files
File Type: zip USBDetect.zip (2.5 KB, 250 views)
Reply With Quote
  #2  
Old 10-08-2010, 01:08 PM
VM_Hacker VM_Hacker is offline
Senior Member
 
Join Date: Jun 2010
Posts: 163
Default

Thanks for the great post =)

Best Regards,
VM_Hacker
Reply With Quote
  #3  
Old 09-08-2011, 12:46 PM
Betacart Betacart is offline
Junior Member
 
Join Date: Sep 2011
Posts: 1
Default

Hi,

how to use your component? If unpack, I see only one file without extension.. I am using D2010.
Reply With Quote
  #4  
Old 09-09-2011, 01:35 PM
Donovan Donovan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 150
Send a message via Skype™ to Donovan
Default

Nice Post!

you are an asset to the Delphi Community!

You couldnt right a set of components for Open Office could you? lol :-)

Regards

Donovan
Reply With Quote
  #5  
Old 12-22-2011, 02:07 PM
Rad Koder Rad Koder is offline
Junior Member
 
Join Date: Dec 2011
Posts: 3
Default

Thanks for the new component, happy coding
Reply With Quote
  #6  
Old 10-23-2012, 03:39 PM
morteza morteza is offline
Junior Member
 
Join Date: Oct 2012
Posts: 8
Default

Thanks for the new component,
Good Component but how can use it?
Reply With Quote
  #7  
Old 04-12-2015, 10:48 AM
lexd lexd is offline
Senior Member
 
Join Date: Feb 2015
Posts: 248
Default

This means nothing with out getting the PID & VID from the registry
I have made such a component that does all this but have not posted it anywhere because every one will copy or claim it.
Reply With Quote
  #8  
Old 11-08-2016, 01:28 AM
Rantor777 Rantor777 is offline
Junior Member
 
Join Date: Nov 2016
Location: 127.0.0.1
Posts: 10
Thumbs up Handy Tool. Thanks.

Handy Tool. Thanks.
Reply With Quote
  #9  
Old 03-27-2017, 08:05 PM
adeministrator adeministrator is offline
Junior Member
 
Join Date: Mar 2017
Posts: 2
Default

Thanks for great codes
Reply With Quote
  #10  
Old 04-08-2017, 01:39 PM
adeministrator adeministrator is offline
Junior Member
 
Join Date: Mar 2017
Posts: 2
Default

Quote:
Originally Posted by SilverBoy View Post
Hi ,

Last day i need to detect wich USB device connected to or disconnected from computer in my project , so i wrote this component .

The component has two events :
1. OnArrival
2. OnRemoved

Note : Both events has same parameters , you can get drive name of connected USB device in OnArrival or disconnected USB device OnRemoved event from Drive parameter , Drive parameter return drive name as string type .

Regards , Mojtaba Tajik
Can't make procedure call in these events. It errors: "An outgoing call can not be made because the application sends a synchronous call
"
Reply With Quote
Reply

Tags
usb, usb detector, usb notification

Thread Tools
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

Forum Jump


All times are GMT. The time now is 11:54 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.