B
baydart99
Hi I recently installed VS 2005 and have been awoken to the world of
it's security. Previously of course my users, all part of are
organizations network, could run executables from a Network Share.
When I tried running my new VS 2005 .Net version from the share I got
an exception on Exception on
System.Security.Permissions.FileIOPermission.
I read some forms, and they suggested ClickOnce, which is causing
problems that maybe you could help me with:
1) How I can pass a parameter to the executable? All I see is a Run
button. For different users I would want to pass a different
parameter.
2) I have an XML configuration file in the same directory as the
executable that the executable needs to read in. However when I try to
grab it in my code, e.g. Dim currExecutablePath As String =
Application.StartupPath it trys to read from the users path
information. Is there a way around this.
3) I also want to be able to run this program from a scheduled task on
the server, but I see no executable was deployed when I published from
VS 2005 to my share?
Thanks
it's security. Previously of course my users, all part of are
organizations network, could run executables from a Network Share.
When I tried running my new VS 2005 .Net version from the share I got
an exception on Exception on
System.Security.Permissions.FileIOPermission.
I read some forms, and they suggested ClickOnce, which is causing
problems that maybe you could help me with:
1) How I can pass a parameter to the executable? All I see is a Run
button. For different users I would want to pass a different
parameter.
2) I have an XML configuration file in the same directory as the
executable that the executable needs to read in. However when I try to
grab it in my code, e.g. Dim currExecutablePath As String =
Application.StartupPath it trys to read from the users path
information. Is there a way around this.
3) I also want to be able to run this program from a scheduled task on
the server, but I see no executable was deployed when I published from
VS 2005 to my share?
Thanks