Hi.
I'm about to write a program in Visual Basic 6.0. I want the program to be
multiplatform. After I've finished coding it, I want it to run at Linux and Macintosh as well as Windows. Can this be acheived through WXWindows?
If not, what other options do I have?
Regards.
can a visual basic program be platform independent?
-
- Super wx Problem Solver
- Posts: 307
- Joined: Fri Oct 08, 2004 8:21 am
- Location: Area 51
- Contact:
Hi digitman,
The short answer is: no
VB is pretty much the farthest you'll ever get from platform independence I think. If you like the higher level syntax, I would suggest you give Delphi a try. It's as friendly as VB and almost as powerful as C++. They have a Linux compiler called Kylix. No Mac though.
For Windows/Linux/Mac you are looking mainly at C++ or Java. There are some others as well: Python is one of the ones that wxWidgets has a binding to.
I believe you are misunderstanding what wxWidgets is. wxWidgets is a portable library that allows you to write C++ (and other bindings) programs against a consistent API on different operating systems. It's not a compatibility layer (http://www.winehq.org) or virtual machine (http://www.java.com) that allows you run a program unmodified on other OSs.
I guess you could try to run your VB program on Wine but that will still leave you without Mac support (I think).
- Santiago
The short answer is: no
VB is pretty much the farthest you'll ever get from platform independence I think. If you like the higher level syntax, I would suggest you give Delphi a try. It's as friendly as VB and almost as powerful as C++. They have a Linux compiler called Kylix. No Mac though.
For Windows/Linux/Mac you are looking mainly at C++ or Java. There are some others as well: Python is one of the ones that wxWidgets has a binding to.
I believe you are misunderstanding what wxWidgets is. wxWidgets is a portable library that allows you to write C++ (and other bindings) programs against a consistent API on different operating systems. It's not a compatibility layer (http://www.winehq.org) or virtual machine (http://www.java.com) that allows you run a program unmodified on other OSs.
I guess you could try to run your VB program on Wine but that will still leave you without Mac support (I think).
- Santiago
Last edited by metalogic on Tue Nov 23, 2004 7:07 am, edited 1 time in total.
-
- Super wx Problem Solver
- Posts: 466
- Joined: Sat Sep 18, 2004 2:49 am
- Location: California, USA
Re: can a visual basic program be platform independent?
You can try wxBasic - http://wxbasic.sourceforge.net. But it is not actively developed. The current version uses only wx 2.3.2. If you have experience with .NET and you want to use only Basic, you can try the wx .NET binding http://wxnet.sourceforge.net/ along with VB.NET.digitman wrote: If not, what other options do I have?
-Guru Kathiresan