Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to port a VB6 application from Windows to Linux

Posted on 2003-11-12
10
421 Views
Last Modified: 2010-04-17
Hi all Experts,
Could you tell me how to port a VB6 application from Windows to Linux?
Thanks in advance,
MGlobal
0
Comment
Question by:MGlobal
10 Comments
 
LVL 7

Expert Comment

by:wsteegmans
ID: 9738024
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
 

Accepted Solution

by:
romano70 earned 100 total points
ID: 9738593
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
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9738723
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 2

Expert Comment

by:Daeljan
ID: 9762408
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
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9762535
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
 
LVL 2

Expert Comment

by:Daeljan
ID: 9762634
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
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9762698
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
 
LVL 2

Expert Comment

by:Daeljan
ID: 10320034
romano70 seemed to get to the best answer first. I just gave some more details.
0
 
LVL 1

Author Comment

by:MGlobal
ID: 10329455
Dear all,

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

Thanks again,
MGlobal.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question