When we've needed to do that in the past, we built a MyApp.com that would be
found from the command line first and then called MyApp.exe with the
appropriate command line args.

Chris
----- Original Message -----
From: "Rune Christensen 8397" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 1:13 AM
Subject: [DOTNET] Console window for Windows application


> I'd like to implement the following algorithm for when a Windows
application
> wants console window / command line window access:
> 1. Was application started from a command line window?
>         Yes: select this window and goto 3.
> 2. Create a command line window and select this
> 3. Connect the In, Out and Error attributes of System.Console to selected
> window.
>
>
> Can anyone help?
>
> Regards,
> Rune Christensen
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to