Use IO.Directory.GetLogicalDrives() method to get all drive from your pc and
check the drive type(CD-ROM,Fixed,Removable) using System.IO.DriveInfo class
then write code in Timer.Tick Event to Continually monitor the system.

I think this is help to you
Don't create any virus.



2009/3/6 tef <[email protected]>

>
> hi all,
>
> can anyone help me on concept/code to auto detect usb storage when it
> was inserted into computer... i m using VB2005..
>
>
> thanks
>



-- 
Regards
*******************
*C.Arun Kumar *
*******************

Reply via email to