Windows Application from pendrive

Jitu

New member
Joined
Jul 31, 2010
Messages
1
Programming Experience
1-3
I have made vb.net setup project in visual studio 2005 and database in MS Access,
Now i want to Run this project through Pendrive Only. and also No one can copy database file in other pendrive excluding me. how i can do this.
 
As for running it from a pen drive, simply put the files on the drive.

As for people not copying it, good luck. Pen drives can be copied, cloned, etc very easily. There's no way of preventing the user from copying a file off of it, the closest I can think of is to have the program check the the drive letter that it's running on and check it to see that it's listed as removable media in the system, if it's not listed as removable media have the program exit itself. That wont prevent people from copying it from one flash drive to another, but it will help keep it running on a flash drive only.
 
one possible workaround can be to merge all application files into a single exe file. You can use boxed app packer. It will prevent copying of database file, but the program itself can always be copied.
 
Back
Top