Solved

How to port a VB6 application from Windows to Linux

Posted on 2003-11-12
10
415 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 85
Detect file exist or not 3 130
Problem to open Excel file 15 95
Turning python script into an applet 12 102
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
A short article about problems I had with the new location API and permissions in Marshmallow
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now