Home All Groups Group Topic Archive Search About

Console Application - run in hidden mode

Author
21 Dec 2006 7:25 PM
Glenn Palomar
Hi,

Is there a way to run VB .Net Console application with hidden console
window?

I can run it minimized by creating a shortcut and set its properties to run
minimized. Still it is not totally hidden.

Can it be done programmatically?

Appreciate your inputs.

Thanks,
Glenn

Author
22 Dec 2006 9:52 PM
Steve Lowe
Hi,

An alternative approach might be to create your application as a
Windows Application,  add a new module to your project, put your code
in this module and make the module rather than Form 1 the object run
on startup.

Regards

Steve.



On Thu, 21 Dec 2006 11:25:29 -0800 "Glenn Palomar"
<glenn.palo***@autodesk.com> wrote:

Show quoteHide quote
>Hi,
>
>Is there a way to run VB .Net Console application with hidden console
>window?
>
>I can run it minimized by creating a shortcut and set its properties to run
>minimized. Still it is not totally hidden.
>
>Can it be done programmatically?
>
>Appreciate your inputs.
>
>Thanks,
>Glenn
>

- Steve Lowe
- E-Mail : NO.SPAM.splowe@usa.net
-          Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net
Author
23 Dec 2006 4:43 PM
Glenn Palomar
Hi Steve,

Thanks.  I'll try this alternative.

Show quoteHide quote
"Steve Lowe" <spl***@usa.net> wrote in message
news:enkoo2da6h7oa2dh7ehjsghf3ipf05io2b@4ax.com...
> Hi,
>
> An alternative approach might be to create your application as a
> Windows Application,  add a new module to your project, put your code
> in this module and make the module rather than Form 1 the object run
> on startup.
>
> Regards
>
> Steve.
>
>
>
> On Thu, 21 Dec 2006 11:25:29 -0800 "Glenn Palomar"
> <glenn.palo***@autodesk.com> wrote:
>
>>Hi,
>>
>>Is there a way to run VB .Net Console application with hidden console
>>window?
>>
>>I can run it minimized by creating a shortcut and set its properties to
>>run
>>minimized. Still it is not totally hidden.
>>
>>Can it be done programmatically?
>>
>>Appreciate your inputs.
>>
>>Thanks,
>>Glenn
>>
>
> - Steve Lowe
> - E-Mail : NO.SPAM.splowe@usa.net
> -          Before Replying Remove .NO.SPAM
> - UK Resident although my e-mail address is usa.net