Console Window???

View: New views
2 Messages — Rating Filter:   Alert me  

Console Window???

by MatrixC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello...

I've been looking for somewhat of an alternative to the Microsoft Visual Basic IDE/compiler.

After looking around, I discovered MonoDevelop. It's great so far, although there isn't a GUI designer, but I can deal with that for the time being.

One problem I'm having,,, well, I'm not sure if it's a problem, a setting, or just how it is; when I compile a VB project with MonoDevelop, and run it on windows, behind the Frame/Form GUI, there's a empty console window. With Microsoft's VB Compiler/IDE, that window doesn't exist, you can only see the Frame/Form.

So, my question is... Is that console supposed to be there? Can I turn it off? Or is it just the way MonoDevelop works?

Thanks in advance,
MatrixC

Re: Console Window???

by Klaus Siebke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The answers are:

No, the console is not supposed to be there and
Yes, you can turn it off by specifying the compiler option "-target:winexe".
In Monodevelop just go the the project properties and add this option to the additional comiler flags.

One last point:
You are right, the GUI designer is not implemented in Mono VB so far.
Please use Glade (http://glade.gnome.org/) as a stand-alone application to design your GUI. There are implementations of Glade for Linux, Windows and MacOS. When it's finished you can use the Glade Sharp Code Generator (see: http://github.com/FireRabbit/glade-sharp-code-generator/tree/master) to create a Mono VB program frame.

Best regards,
Klaus


MatrixC wrote:
Hello...

I've been looking for somewhat of an alternative to the Microsoft Visual Basic IDE/compiler.

After looking around, I discovered MonoDevelop. It's great so far, although there isn't a GUI designer, but I can deal with that for the time being.

One problem I'm having,,, well, I'm not sure if it's a problem, a setting, or just how it is; when I compile a VB project with MonoDevelop, and run it on windows, behind the Frame/Form GUI, there's a empty console window. With Microsoft's VB Compiler/IDE, that window doesn't exist, you can only see the Frame/Form.

So, my question is... Is that console supposed to be there? Can I turn it off? Or is it just the way MonoDevelop works?

Thanks in advance,
MatrixC