Forum > Beginners

Porting a VB6 Project



Just wanted to know if anyone has had success porting a vb6 app to lazarus. I have 3 apps with about 200k LOC and would like to attempt to port it to lazarus.

Are there any Basic dialects that would make converting easier?


VB6 and Object Pascal are very different languages, no matter which dialect you use.

Porting is possible. The difficult depends on the size and the complexity of the VB6 App. If it use classes and interfaces, probably it would be too hard. It woul be useful to know what kind of App you pretend to port.

I had to change all the architecture in some Apps I have ported. Practically, I have rewritten most of the code on some cases.

If it is possible, you could start porting some independent parts of the App. It will be more secure.

Anyway, you can ask some specific question of the porting. There are very helpful people here for to answer.

Yes, Porting a vb6 project is possible, but there is no project conversion tools available currently, so its a time consuming depends on the type of application. Just have a try and share your expirence.

Visual Basic and Free Pascal are very different languages.
I have seen people rewriting VB programs in Lazarus, not porting them.
It is a manual job, without help of tools or wizards.

Have you checked if Gambas would be a solution for you?

If you start rewriting one of your VB programs in Lazarus from scratch, we can try to help you on specific doubts.

Start from this topic :,24125.0.html

If possible also take a look on:,22143.msg130344.html#msg130344,22142.msg130251.html#msg130251

There are VB to Delphi convertors mentioned here:,12763.msg66330.html#msg66330

They are mainly used for header conversions, but they can help you with rough start up conversion following a lot of manual work.


[0] Message Index

Go to full version