Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to port a VB6 application from Windows to Linux

Posted on 2003-11-12
10
Medium Priority
?
453 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
[X]
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
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 300 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
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…

670 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