[Mono-list] Compiling (mbas) with multiple references

Robert Fab rgasparini29@yahoo.com
Tue, 25 Mar 2003 13:20:58 -0800 (PST)

Hello everybody,

I'm newbie here. I started using mono over RedHat 8.0
and the VB compiler. My problem is that I don't know
how to compile a little program using multiple
references. My code:

Imports GLib
Imports Gtk
Imports GtkSharp
Imports System
Imports System.Drawing

Module GtkTest
        Sub Main()
                Dim win as Window
                Dim btn as Button

                win = new Window("VB Gtk + Hello
                win.DefaultSize = new Size (200,150)
                btn = new Button("Click me!")
        End Sub
End Module

When I compile, I need to reference at least (I guess
so) two libraries: "gtk-sharp" and "System.Drawing".
But -r option does not accept multiple libraries:

mbas win2.vb -r System.Drawing, gtk-sharp

I get an error.

Can anybody help me?
Thanks in advance!

Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!