Re: Winform.exe execution from HTTP
From: David Sworder \(formerly known as \ (grady@sanford.son)
Date: 11/07/02
- Next message: Jerry Sherman: "ASP.net Integrated Security SQL Server"
- Previous message: Stefan Schachner[MS]: "RE: Remote Web Server"
- In reply to: Shachar: "Winform.exe execution from HTTP"
- Next in thread: Tim Kurtzman [MS]: "Re: Winform.exe execution from HTTP"
- Reply: Tim Kurtzman [MS]: "Re: Winform.exe execution from HTTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "David Sworder \(formerly known as \"Rev. Dr. Hulio Manuel Sanchez-Cruz\"\)" <grady@sanford.son> Date: Thu, 7 Nov 2002 07:47:47 -0800
Hello,
I posted several messages asking the very same question several months
ago and never found an answer. As far as I can tell, there is no way to pass
in a command line parameter to an exe that is launched via http.
David
"Shachar" <shacharm@pos.co.il> wrote in message
news:uYxWHLghCHA.2448@tkmsftngp11...
> Hello all
>
> I'm running my program from http server :http://myserver/myprogram.exe
> the download automatically to my computer
> ,written in the gac, gacutil /ldl, and run fantastic.
> but I want to send parameters to my program
>
> by running:
>
> http://myserver/myprogram.exe parameter
>
> or http://myserver/myprogram.exe?parameter
>
> or http://myserver/myprogram.exe¶meter
>
> or http://myserver/myprogram.exe /parameter
>
> or http://myserver/myprogram.exe \parameter
>
> but I get no parameter, I use in C# :
>
> static void Main(string[] args)
> { // -----------------------------
> // args.Length allways = 1
> // -----------------------------
> if (args.Length > 0) ar = args[0];
> }
>
> If I run the program from C:\Test\myprogram.exe parameter
>
> I get the parameter .
>
> Thanks,
>
> Shachar.
>
>
>
- Next message: Jerry Sherman: "ASP.net Integrated Security SQL Server"
- Previous message: Stefan Schachner[MS]: "RE: Remote Web Server"
- In reply to: Shachar: "Winform.exe execution from HTTP"
- Next in thread: Tim Kurtzman [MS]: "Re: Winform.exe execution from HTTP"
- Reply: Tim Kurtzman [MS]: "Re: Winform.exe execution from HTTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|