Winform.exe execution from HTTP

From: Shachar (shacharm@pos.co.il)
Date: 11/07/02


From: "Shachar" <shacharm@pos.co.il>
Date: Thu, 7 Nov 2002 04:13:04 +0200


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&parameter

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.



Relevant Pages

  • Re: Installing to GAC using Deployment Project
    ... If you need to mimic the process of 'gacutil' and/or 'regasm' because ... p.GacInstall(file); // for gac installation ... > codebase on the dll's properties. ...
    (microsoft.public.dotnet.general)
  • Adding GACUtil on right click menu
    ... I've quite some files to push into GAC ... Opend registry ... Set default value for command to path of gacutil followed by /i "%1" ... click of dll files; clicking that will send dll to GAC ...
    (microsoft.public.biztalk.general)
  • Re: Search and indexing error
    ... No old stssoap.dll in the GAC - "gacutil /u stssoap" ... Disable proxy or, if using, make sure the bypass list doesn't include ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Installing to GAC using Deployment Project
    ... look at properties, the is an entry for Codebase, which references the ... location of the dll I installed using the GACUTIL. ... If I check the GAC after I use the installer there is no entry for the ... codebase on the dll's properties. ...
    (microsoft.public.dotnet.general)
  • Using GACUTIL for patches to report failures and not successes
    ... We currently use gacutil as part of our patch process to remove all current ... versions in the GAC). ... However we have nearly 100 assemblies and a lot of output is generated from ...
    (microsoft.public.dotnet.framework.clr)