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: [EMAIL PROTECTED] [mailto:mono-vb-
> [EMAIL PROTECTED] On Behalf Of cumaron
> Sent: viernes, 27 de junio de 2008 14:05
> To: [email protected]
> 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
> [email protected]
> 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

_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb

Reply via email to