Console Application - run in hidden mode

  • Thread starter Thread starter Glenn Palomar
  • Start date Start date
G

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
 
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.



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 : (e-mail address removed)
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net
 
Hi Steve,

Thanks. I'll try this alternative.

Steve Lowe said:
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.





- Steve Lowe
- E-Mail : (e-mail address removed)
- Before Replying Remove .NO.SPAM
- UK Resident although my e-mail address is usa.net
 
Back
Top