LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2006, 12:43 PM   #1
depam
Member
 
Registered: Sep 2005
Posts: 861

Rep: Reputation: 30
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.
 
Old 02-09-2006, 12:49 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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!
 
Old 02-09-2006, 12:49 PM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
I suggest java or python on the client/server side.
 
Old 02-09-2006, 12:58 PM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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.
 
Old 02-09-2006, 01:12 PM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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!
 
Old 02-09-2006, 02:23 PM   #6
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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.
 
Old 02-10-2006, 03:00 AM   #7
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
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.
 
Old 02-10-2006, 06:06 AM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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 :\
 
Old 02-11-2006, 09:46 AM   #9
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
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.
 
Old 02-11-2006, 03:42 PM   #10
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid Question: Microsoft Visual Studio 6.0 (A.K.A. Visual Basic 6) Will it run? S0RD3N Linux - Software 8 05-07-2008 08:42 PM
Visual fox pro LadyNikon Programming 8 04-29-2005 09:54 AM
All questions about Wine-Visual Fox here jocast Linux - Software 2 08-25-2004 11:02 AM
Wine error trying to run visual fox jocast Linux - Software 3 08-22-2004 03:18 PM
Visual Fox on Linux jocast Linux - Software 1 08-20-2004 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration