Support Forums
Hide Console Window - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19)
+---- Thread: Hide Console Window (/showthread.php?tid=5059)



Hide Console Window - Scorpion - 02-26-2010

What's Up?

OK, So I'm using a console application, And upon execution the ugly console window rears it's head, Is it possible to execute some commands without that window poping up?

Thanks Bye.


RE: Hide Console Window - Danny - 02-27-2010

Um I'm not sure what you mean, can you please expand on your question?


RE: Hide Console Window - Extasey - 02-27-2010

You can do a few things, click on your form and change some of these settings.

Window State: Minimized (will start minimized)
Show in Taskbar: Flase (removes icon from taskbar)
Opacity: 0%

That should hide it.


RE: Hide Console Window - Danny - 02-27-2010

(02-27-2010, 08:32 PM)Extasey Wrote: You can do a few things, click on your form and change some of these settings.

Window State: Minimized (will start minimized)
Show in Taskbar: Flase (removes icon from taskbar)
Opacity: 0%

That should hide it.

Ohhhh, I get it. Wouldn't this work:

Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.Hide()
    End Sub



RE: Hide Console Window - Extasey - 02-28-2010

Lol yeah. Tongue
I've only just started using Vb again. Going straight from VB6 to VB.NET2008 is a bit of a learning curve, especially as I haven't done any coding in a year!