krishrr
asked on
How to copy files to System directory without admin rights in VB?
I have written VB code to copy the OCX/DLL files to system directory and register them with 'Regsvr32' via code. It works fine with admin rights (on admin login). If i execute the same program in user login, i got 'Path/File Access Error' because of restricted permission to System directory.
Can anyone help me to run the program (to copy the files to system directory) without logging in as administrator and without asking admin password on execution?
Can anyone help me to run the program (to copy the files to system directory) without logging in as administrator and without asking admin password on execution?
ASKER
I want to deploy my VB project,in which the project used third party DLLs, which should be placed in Systems directory. Any other method to implement this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks...
If what you want to do would be possible, then it would be very easy for a virus or a trojan to be introduced into our system.
Dabas