[mono-vb] gtk.vb simple tesst app
jim lawrence
fedorajim at gmail.com
Mon Jul 18 21:30:19 EDT 2005
i copied the text gtk.vb fromthe moni site and have a comipling error
here is what i have
rpm -qa | grep mono
mono-complete-1.1.8-1.1.fc4.nr
mono-web-1.1.8-1.1.fc4.nr
mono-basic-1.1.8-1.1.fc4.nr
monodoc-1.0.6-1.1.fc4.nr
mono-extras-1.1.8-1.1.fc4.nr
mono-data-oracle-1.1.8-1.1.fc4.nr
monodevelop-0.7-1.1.fc4.nr
mono-core-1.1.8-1.1.fc4.nr
mono-data-sybase-1.1.8-1.1.fc4.nr
mono-data-sqlite-1.1.8-1.1.fc4.nr
mono-data-1.1.8-1.1.fc4.nr
mono-data-postgresql-1.1.8-1.1.fc4.nr
mono-locale-extras-1.1.8-1.1.fc4.nr
gtk
gtk-sharp-gapi-1.0.10-1.1.fc4.nr
gtksourceview-sharp-0.10-1.1.fc4.nr
gtk-sharp-1.0.10-1.1.fc4.nr
gtk-sharp2-1.9.5-1.1.fc4.nr
gtk2-devel-2.6.7-4
gtk-doc-1.3-2
authconfig-gtk-4.6.12-1
gtkhtml3-3.6.2-1
gtk+-1.2.10-39
gtk-engines-0.12-7
Source code
#####################################
Imports System
Imports Gtk
Module GtkTest
Sub Main ()
Dim win as Window
Dim Btn as Button
Application.Init ()
Win = new Window ("Test Application") 'Create the Window
Btn = new Button ("Click Here") 'Create the button
Win.Add (Btn) " add the button to the form
Win.ShowAll ()
Application.Run ()
End Sub
End Module
###################################################
when compiling...
mbas -r test.vb gtk-sharp
MonoBASIC Compiler 0.96.2.0 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
--------
THIS IS AN ALPHA SOFTWARE.
--------
error BC2001: Source file 'gtk-sharp' could not be found!!!
Compilation failed: 1 Error(s), 0 warnings
--
Registered Linux User: #376813
www.fedorajim.homelinux.com
More information about the Mono-vb
mailing list