Click here to Skip to main content
15,888,293 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hello,,

I've project and I have this problem if you can help me. I'm using VB.net.

I want to put my program in a flash memory and to be run automatically when the flash memory is inserted.

I've used autorun.inf file but this method is not working if the autorun feature is disabled in the computer.

sometimes when I insert a flash the computer ask the user if he/she wants to run the program provided in the device which is a virus.

I want my program to be run like this virus.

Thanks a lot.
Posted

I doubt you can write a virus with VB.NET, but if you could, we would still not help you.
 
Share this answer
 
I don't want to make a virus. My project is to protect the flash. In my univercity a lot of student forget there flashs because they use common computer labs and they log off and forget there flash. I've build a program that deny logging off if there is a flash is connected. Now I want to improve my project. I want to put the program in the flash.

please help me...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900