J
Jess.Albert
Hey All,
I've got a program running on a Network share. It works without any
problems when I add the \\server\* with Full Trust in the .Net
Configuration MMC. I also export this security set as an MSI to be
installed for users who wish to run the program.
The question is, is that sometimes a user will simply go to the share
and try running the program sometimes (start -> run ->
\\server\share\Program.Net.Exe). This will cause the application to
fail, and an unfriendly message to be displayed.
I would like to do a test to make sure the program has the correct
permissions to run, but it doesn't even reach the On_Load event. How
would I go about testing to make sure the program is able to run so if
they don't have the security permissions to run a program from the
share, I'd like to give them a nice friendly "Don't Panic!" message
Any examples in VB/C# work for me, thanks in advance!
-Jesse Albert
I've got a program running on a Network share. It works without any
problems when I add the \\server\* with Full Trust in the .Net
Configuration MMC. I also export this security set as an MSI to be
installed for users who wish to run the program.
The question is, is that sometimes a user will simply go to the share
and try running the program sometimes (start -> run ->
\\server\share\Program.Net.Exe). This will cause the application to
fail, and an unfriendly message to be displayed.
I would like to do a test to make sure the program has the correct
permissions to run, but it doesn't even reach the On_Load event. How
would I go about testing to make sure the program is able to run so if
they don't have the security permissions to run a program from the
share, I'd like to give them a nice friendly "Don't Panic!" message
Any examples in VB/C# work for me, thanks in advance!
-Jesse Albert