LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   running Visual Basic/Visual Fox Pro in Linux? (https://www.linuxquestions.org/questions/linux-software-2/running-visual-basic-visual-fox-pro-in-linux-413517/)

depam 02-09-2006 12:43 PM

running Visual Basic/Visual Fox Pro in Linux?
 
Is it possible to run VB applications in Linux? Our company is slowly migrating to Open Source. We already have Linux servers which serves as our proxy, authentication and firewall. However, there are some Windows applications that we need to migrate to Linux. The backend is mySQL though but I want to know if this applications can run on Linux. I tried wine but not successful. If it will not run on linux, what are the nearest application programming (with VB and Fox) can we use? I know PHP is a web based application but still learning..Any other suggestions? Thanks.

Mega Man X 02-09-2006 12:49 PM

Take a look into those two links:

http://www.realsoftware.com/support/...ngvisualbasic/

http://gambas.sourceforge.net/

I don't think wine will be able to run VB applications. VB itself runs over an engine, so you should need to get VB runtimes + VB applications emulated. I could be wrong though.

PHP is a nice idea and should easily work across platforms, as long as you've got a browser :). Java is another good alternative, in my honest opinion.

Good luck!

mrcheeks 02-09-2006 12:49 PM

I suggest java or python on the client/server side.

indienick 02-09-2006 12:58 PM

depam, I'm in the same boat...well...minus the company...

I need to migrate a buttload of applications written in VB to my linux system, but there isn't a VB clone for linux. There are ones that come close (like Gambas).

Unfortunately, I've found out, the hard way, that you can't install VB on linux using either WINE or CrossOver. :(

If you can't switch from BASIC, I suggest googling for a free BASIC compiler. There's tons of them out there.

If you can spare the time to learn another language, definitely give Python a shot (http://www.python.org/). I have to feverently disagree with MegaManX and mrcheeks about Java. It's much to close to C/C++ to be of any quick use to a BASIC (let alone a VisualBASIC) programmer.

If I find anything that I think works as a good VB substitute, I'll let you know.

Mega Man X 02-09-2006 01:12 PM

mrcheeks wrote a great editor with Java (if my memory servers me right) and I'm a Java lover myself, so maybe we were a little biased in this case :). However, if depam's VB applications were pretty simple in GUI terms, using Java Swing would not be a hard task. Now, if he has no experience at all with Java, that could take a while and as you said, it should not be a good solution :\.

If I wasn't so busy at school I could give a hand creating the interfaces and linking to the database. That's a one day job, if the GUI's are really simple ;)

Good luck!

indienick 02-09-2006 02:23 PM

I've been attempting to learn Java for a while now, but recently, I haven't had much time to put into it...I've got enough tutorials and books on Java to choke a moose, but I just haven't had the time. I'd really like to learn it though.

depam 02-10-2006 03:00 AM

Thanks for your comments guys.. Honestly, I am very much concern about the migration. I was instructed to migrate to Open Source to avoid the high cost licensing. I'll try PHP but I think VB is still the easiest way because of its GUI, drag and drop. Is there a GUI application development for Linux? I am also wondering, why does WIndows run better at P1 units while Linux needs more RAM than WIndows. Before, we can run Office, Windows 95 on P1 166 MHz 16 MB Ram. I just can't find any X-window with an acceptable speed Linux distro for our old P1 units. Anyway guys I really appreciate it. I think I have to take course on PHP.

Mega Man X 02-10-2006 06:06 AM

I guess it's because Windows 95 is pretty old and designed for machines like P1 and earlier, while Linux is, well, new :). Blackbox or IceWM should work great on those machines I suppose. You might even want to try a distro with 2.4.x kernels ratter then 2.6.x. I suggest this because 2.4.x is not only smaller, but also has arguably better support for older harware.

There's a pretty good distribution that seems pretty close to what you seek. It's called Deli Linux:

http://www.delilinux.de/

As much as I like Java, I've to say that Java and Swing is off the table for old P1 with 16 RAM :\

depam 02-11-2006 09:46 AM

Well, I guess I have to learn the linux programming the hard way. Maybe PHP or Java will do.. Regarding, running Linux on low end PCs, my boss' requirement is to have Open Office running. However, I found out that Open Office will only run on 64 MB memory. I'll also try Deli, Vector and Slackware for PC 166s. It just frustrate me to know that nice Linux desktop runs on high end PCs. Thanks man for all the advice.

indienick 02-11-2006 03:42 PM

Dude, check out GAMBAS for your VB migration. :) I've tried it out, and it's pretty damn close to MSVB6. It can even open MSVB6 source code.

That'll solve your VB migration problem, but what's with your boss wanting to run linux on old beater PCs? That's kinda....shifty...


All times are GMT -5. The time now is 11:36 PM.