How to port a VB6 application from Windows to Linux

Hi all Experts,
Could you tell me how to port a VB6 application from Windows to Linux?
Thanks in advance,
MGlobal
LVL 1
MGlobalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wsteegmansCommented:
I know that transporting a Delphi program from Windows to Linux is very easy. Borland created Kylix (http://www.borland.com/kylix/) for Linux.

Now, there is a third party product, DeLux, that can translate your VB-program to Delphi-code. So, once you have Delphi-code, you can run it very easy on Linux.

More info about DeLux:
http://delphi.about.com/library/productreviews/aaprdeluxpro.htm
http://www.deluxsoftware.com/ (HomePage DeLux)
0
romano70Commented:
Try to convert into VB.NET using Visual Stuido.NET, compile it and execute it in the .NET framework for linux (Mono project): http://www.go-mono.com/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bhagyeshtCommented:
if you want to do so without coding use wine on linux
if you want to code then use wxwindows or QT to recode the thing into wxwindows or QT
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

DaeljanCommented:
I would say the quickest way would be convert it to VB.NET, as Romano70 stated. This would improve your VB applications' source code, upgrade your application to the .NET platform, and most likely increase it's performance.

You would then have less maintenance issues as the souce would be platform independant. However, porting from VB6 to VB.NET does involve a bit of work. Check out these links:

http://www.aivosto.com/vbtips/vbnetmigration.html
http://www.developer.com/net/vb/article.php/10926_1540161_2
http://www.aivosto.com/project/help/enterprise-netcheck-rules.html

0
bhagyeshtCommented:
romano70 :
Have you tried Mono? if yes I would like to know the system response and the performance issues besides details of porting. I shall give you points seperately for this on getting appropriate answers
0
DaeljanCommented:
Hi,

No - I haven't gotten around to it, although I will eventually. I'm currently working on a project based on the open source Rainbow project:
http://rainbow.duemetri.net/Rainbow/go/rainbow/1/en-US/Default.aspx

I know that some users of Rainbow were basing their development on Linux, hence thier need for mono. As far as I know, the current version of mono is stable, although it still doesn't have the complete set of classes.

You may find this of interest though:
http://radio.weblogs.com/0117493/2003/01/26.html

The Microsoft ISpyBuy web portal apparently builds and runs OK.
0
bhagyeshtCommented:
basically I am working on porting too i am looking for VC to QT but if .Net allows the same and someone has had a good experience with it I'd like to know abt it
0
DaeljanCommented:
romano70 seemed to get to the best answer first. I just gave some more details.
0
MGlobalAuthor Commented:
Dear all,

Thanks very much for your help.
All comments are good for me.

Thanks again,
MGlobal.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.