Hello,

Is there a simple way for passing arguments to applications deployed with
ClickOnce and having off-line capabilities.

My app takes arguments if I start it with the whole path to it
"c:\whole\path\myapp.exe /arg=123" but as I do not know where the
application reside on the client PC's I don't know the whole path.

Is there a way to do so by a system-variable as %the_path_to_your_app% or
what so ever, or is there any work around.

tnx a lot

Jean Paul

Re: Passing arguments to ClickOnce applications by CSharpner

CSharpner
Wed Jun 06 09:39:24 CDT 2007

They claim that this is the answer:
http://msdn2.microsoft.com/en-us/library/ms172242(VS.80).aspx

but I can't get it to work. I keep getting a blank ".Query".


On Jun 6, 3:00 am, "Jean Paul Mertens" <ON7...@newsgroups.nospam>
wrote:
> Hello,
>
> Is there a simple way for passing arguments to applications deployed with
> ClickOnce and having off-line capabilities.
>
> My app takes arguments if I start it with the whole path to it
> "c:\whole\path\myapp.exe /arg=123" but as I do not know where the
> application reside on the client PC's I don't know the whole path.
>
> Is there a way to do so by a system-variable as %the_path_to_your_app% or
> what so ever, or is there any work around.
>
> tnx a lot
>
> Jean Paul