PDA

View Full Version : How do i program with visual basic.net in ubuntu


linux_lover69
December 25th, 2008, 09:52 PM
I want to know of any programs that I can use to program using the visual basic.net language. I'v tried Mono and Gambas, help on using them would be wonderful if I can program using visual basic.net. And I don't want posts saying that i should learn another computer language like C# or C++. Help is greatly appreciated.

tuxxy
December 25th, 2008, 09:54 PM
If all else fails you could boot a virtual XP drive in virtualbox

linux_lover69
December 25th, 2008, 10:00 PM
I'm duel booting Ubuntu and Windows right now and i want to get rid of windows, But yeah if there's no other choice I'll continue to duel boot.

MaindotC
December 25th, 2008, 10:18 PM
I run Visual Studio in Wine and it works perfectly fine. Have you tried using Wine?

linux_lover69
December 25th, 2008, 10:23 PM
No I havn't. What version did you install that worked?

directhex
December 26th, 2008, 06:09 AM
Sigh.

mono-vbnc package. The compiler is called "vbnc". Monodevelop should support vbnc for compiling, assuming you want an IDE.

MaindotC
December 26th, 2008, 08:32 AM
No I havn't. What version did you install that worked?

I installed Visual Studio 2008. Ever since Wine 1.0 I've had little if any difficulty running windoze programs that my university uses like phpDesigner, dreamweaver, or visual studio. However, it may be wise to use a native application like Mono that directhex suggested. You can check out Mono at http://www.mono-project.com/Main_Page. I haven't used Mono yet nor have I allocated time to read the docs.

noerrorsfound
December 26th, 2008, 08:03 PM
And I don't want posts saying that i should learn another computer language like C# or C++.
I hope you don't mind if I recommend REALbasic (http://www.realsoftware.com/realbasic/). It's not only available for Windows, Mac, and Linux, but you can compile for a different OS than you're currently running (compiling a Windows version on Linux, for example). REALbasic versus Visual Basic (PDF) (http://tech-publishing.com/Downloads/RB2.pdf) says:
Programmers with a background based on Visual Basic .NET will also find the transition to REALbasic relatively smooth and will be able to bring over most of their Visual Basic programming experience, less any .NET specific features.

directhex
December 26th, 2008, 08:16 PM
An awful lot of these solutions are ignoring the actual original question.

directhex@mortos:/tmp$ lsb_release -d
Description: Ubuntu 8.10
directhex@mortos:/tmp$ cat hello.vb
Imports System
Module Module1
Sub Main()
Console.WriteLine ("Hello World")
End Sub
End Module
directhex@mortos:/tmp$ vbnc hello.vb
version (Mono 2.0 - r)



Assembly 'hello, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' saved successfully to '/tmp/hello.exe'.
Compilation successful
Compilation took 00:00:02.5077040
directhex@mortos:/tmp$ mono hello.exe
Hello World
directhex@mortos:/tmp$

The mono-vbnc and libmono-microsoft-visualbasic8.0-cil packages are available only in Jaunty or newer, but they ought to install cleanly in Intrepid

linux_lover69
December 27th, 2008, 04:38 PM
Thanks, I guess I'll try to figure out mono.