How to do AutoPlay?

  • Thread starter Thread starter barbara_dave
  • Start date Start date
B

barbara_dave

Hi All,

I have a vb.net application program. I want to add AutoPlay function
which can launch the program when user plugging a memory stick in USB
port. How to do that? Please give me some instructions.


Thanks in advance!
 
I am sorry. I don't mean "AutoRun". What I want is When memory stick
was plugged, there is a little window showing up automatically and list
some options such as "Run My program", "Copy files to PC", etc., so the
user can select one option. It has something to do with windows
registry. I read the information in MSDN library about " Preparing
Hardware and software for use with AutoPlay", but I need some VB.net
code to implete that functions. Could somebody help me ?


Thanks a lot.
 
Hi,

Maybe this will help.
http://www.kellys-korner-xp.com/add_burner.htm

Ken
----------------
Hi All,

I have a vb.net application program. I want to add AutoPlay function
which can launch the program when user plugging a memory stick in USB
port. How to do that? Please give me some instructions.


Thanks in advance!
 
On 12 Jul 2005 09:14:23 -0700, (e-mail address removed) wrote:

¤ Hi All,
¤
¤ I have a vb.net application program. I want to add AutoPlay function
¤ which can launch the program when user plugging a memory stick in USB
¤ port. How to do that? Please give me some instructions.
¤

I would check out the following:

http://msdn.microsoft.com/library/d...asics_extending/autoplay/autoplay2k_using.asp
http://msdn.microsoft.com/library/d...cs_extending/autoplay/autoplay2k_cookbook.asp


Paul
~~~~
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top