[mono-vb] First steps with Mono -VB

Rolf Bjarne Kvinge rolflists at ya.com
Sat Jun 28 14:04:37 EDT 2008


Hi,

Are you on Windows or Linux?

You need to have mono-basic installed, it should be included in the Windows
installer, for Linux you'll have to grab the package separately.

To check if you can compile VB programs execute 'vbnc' (the VB compiler) in
the mono command prompt.

Here is a simple hello world app, put it in a file (helloworld.vb), compile
by executing 'vbnc helloworld.vb' and then execute the program with 'mono
helloworld.exe':

Class HelloWorld
	Shared Sub Main
		System.Console.WriteLine ("Hello world")
	End Sub
End Class

Rolf

> -----Original Message-----
> From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-
> bounces at lists.ximian.com] On Behalf Of cumaron
> Sent: viernes, 27 de junio de 2008 14:05
> To: mono-vb at lists.ximian.com
> Subject: [mono-vb] First steps with Mono -VB
> 
> 
> Hello,
> 
> I have obtained and installed Mono 1.9.1_2 setup from the download
> page.
> What do I need to do to write a simple Visual Basic program, e.g. print
> "Hello World" ?
> 
> The page
> 
> http://www.mono-project.com/VisualBasic.NET_support
> 
> is not very helpful.
> I am not even sure, if VB is included, I cannot find any example files,
> the
> files in the samples directory look more like C.
> 
> I would be grateful, if you coud point me to any useful documentation.
> 
> Many thanks
> cumaron
> --
> View this message in context: http://www.nabble.com/First-steps-with-
> Mono--VB-tp18153729p18153729.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.101 / Virus Database: 270.4.2/1523 - Release Date:
> 28/06/2008 7:00



More information about the Mono-vb mailing list