Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

VS 2010 Hiding Console Application

$
0
0
Hi,

I'm having a few issues trying to hide a console application, I've tried changing the Application Type to Windows Forms Application and telling it to run Sub Main but I get this error;

Win32Exception Occured
The handle is invalid

When it get to this part of my code, foo.start() and I've declared foo as this, Dim foo As New System.Diagnostics.Process

Any ideas on how I can get the console window to disappear??

Thanks

Swain90

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>