PDA

View Full Version : Visual Basic on linux?



PFSpectrum
October 2nd, 2008, 01:55 AM
We are learning visual basic in my school (yeah I know its an old language, I'm just learning =P) and we are using visual studio, which i think is a windows only thing. Is there any way that i can code in basic under Linux? it doesn't matter if the projects can compile under windows, i just have to be able to practice from my house, and i don't want to use my windows partition because i am enjoying Linux. (i got it yesterday =D) I just need a language that has the same syntax as visual basic.

LaRoza
October 2nd, 2008, 02:09 AM
We are learning visual basic in my school (yeah I know its an old language, I'm just learning =P) and we are using visual studio, which i think is a windows only thing. Is there any way that i can code in basic under Linux? it doesn't matter if the projects can compile under windows, i just have to be able to practice from my house, and i don't want to use my windows partition because i am enjoying Linux. (i got it yesterday =D) I just need a language that has the same syntax as visual basic.

You can write code anywhere, however, even if you can use Visual Basic under Linux, you are best using what the class uses.

For practice, you can use: http://www.mono-project.com/VisualBasic.NET_support

PandaGoat
October 2nd, 2008, 03:13 AM
For Linux, there is Gambas: http://gambas.sourceforge.net/

It is similar to basic I believe.

However, it is nothing like a managed language like visual basic that uses .NET. But the basic language is all the same, so you may find it useful.

LaRoza
October 2nd, 2008, 03:17 AM
However, it is nothing like a managed language like visual basic that uses .NET. But the basic language is all the same, so you may find it useful.

Did you see the above link?

PandaGoat
October 2nd, 2008, 03:39 AM
Did you see the above link?
Did you read the OP's post?

I posted a native language that is similar to basic. The syntax will be similar to visual basic to the best of my knowledge--which is what he asked for. However, I pointed out it is nothing like a managed language.

What is the point of me recognizing your post in mine anyway? Did I not contribute anything? Woops.

To not contribute more: after a quick google search I found this: http://vb.wikia.com/wiki/Running_Visual_Basic_under_Ubuntu_Linux. There are a few other things, but you should do your own google search.

Nick Lake
October 2nd, 2008, 04:30 AM
Try Mono Develop.

You can write VB.NET and run it on Linux. Mono Develop is the IDE for mono.

If your class is using Visual Studio you may find it easier to use what they are using. There seem to be some small differences where code might not port as you think. I've used it to run C# code written for Windows on Linux... But now I usually write most stuff in C++ and compile it for both platforms.

- Over

ghostdog74
October 2nd, 2008, 05:45 AM
We are learning visual basic in my school (yeah I know its an old language, I'm just learning =P) and we are using visual studio, which i think is a windows only thing. Is there any way that i can code in basic under Linux? it doesn't matter if the projects can compile under windows, i just have to be able to practice from my house, and i don't want to use my windows partition because i am enjoying Linux. (i got it yesterday =D) I just need a language that has the same syntax as visual basic.

you can use oobasic. download the sdk here (http://api.openoffice.org/). Then from Openoffice calc, go to Help and see the Macros/Programming section.

nvteighen
October 2nd, 2008, 09:37 AM
you can use oobasic. download the sdk here (http://api.openoffice.org/). Then from Openoffice calc, go to Help and see the Macros/Programming section.
I don't know any oobasic, but usually, Macro BASIC dialects are very crippled... because they're meant to be for macros. But anyway, looking at it won't hurt.

MarkieB
October 2nd, 2008, 12:06 PM
no longer participating in ubuntuforums.org

directhex
October 10th, 2008, 10:25 AM
mono-basic, which includes the vbnc VB.NET compiler, will be in Jaunty - and is in my PPA.