Is there anyway to start a program when a USB pen drive which contains a specific file is plugged into the computer?
I've been doing a lot of research on this but i haven't been able to figure it out.
Basically i want my program to start running when a USB pen drive containing a specific secret file is plugged onto the computer.
Anyone knows how to accomplish this?
Any similar projects i can take a look at?
Pen Drive Intergration
Page 1 of 16 Replies - 142 Views - Last Post: 08 February 2012 - 01:05 AM
Topic Sponsor:
Replies To: Pen Drive Intergration
#2
Re: Pen Drive Intergration
Posted 07 February 2012 - 10:38 PM
What do you mean… is the program on the pendrive? If so you can create an autorun.inf file on the top directory:
If it isn't… let me know
[autorun] open=<filetoopen>
If it isn't… let me know
#3
Re: Pen Drive Intergration
Posted 07 February 2012 - 10:47 PM
jimmyBo, on 07 February 2012 - 10:38 PM, said:
What do you mean… is the program on the pendrive? If so you can create an autorun.inf file on the top directory:
If it isn't… let me know
[autorun] open=<filetoopen>
If it isn't… let me know
Not exactly, There should be a txt file on the pen drive containing a string for example 100-000-000
The program i created is installed on the computer
When the pen drive with the txt file (with the string) is plugged into the computer,i want the program on the desktop to automatically run without the user having to click autorun or anything.
Is there a way i can create my program so that it will scan all the pen drives connected to the computer and see whether any of those pen drives have that txt file in them,If so run automatically?
I dont know how to accomplish this, is there a project i can look at?
I am writing this program in Visual Basic 2010.
#6
Re: Pen Drive Intergration
Posted 08 February 2012 - 12:44 AM
Can you just give me 100 dollars? Without working expect no reward.
Sent from my ADR6300 using Tapatalk
Sent from my ADR6300 using Tapatalk
#7
Re: Pen Drive Intergration
Posted 08 February 2012 - 01:05 AM
Utael, on 08 February 2012 - 12:44 AM, said:
Can you just give me 100 dollars? Without working expect no reward.
Sent from my ADR6300 using Tapatalk
Sent from my ADR6300 using Tapatalk
haha i didnt mean it like that.Im just trying to figure this out but i have no luck in doing so.But i understand what you mean....Go to do more research i guess lol.....
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|