First steps with Mono -VB

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

First steps with Mono -VB

by cumaron :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: First steps with Mono -VB

by Rolf Bjarne Kvinge-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... [mailto:mono-vb-
> bounces@...] On Behalf Of cumaron
> Sent: viernes, 27 de junio de 2008 14:05
> To: mono-vb@...
> 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@...
> 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
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb