[Gambas-user] Migrating to Gambas

Bruce adamnt42 at gmail.com
Wed Jun 9 01:58:15 CEST 2021

On 9/6/21 8:46 am, John Dovey wrote:
> Does anyone have any thoughts/advice about migrating a project from vb6 to
> Gambas?
> I found a reference to an old project for migrating some forms, but that
> was for an old version of Gambas.
> John
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
Several million, most being unsuitable for publication.

A few that leap to mind are:
* You can't make a silk purse from a sow's ear.
* A 60 year old street walker wearing Chanel makeup is still an old tart.
* No other profession pretends to, nor attempts to, "migrate" something 
into something else. Does a chef "migrate" a piece of burned toast into 
a three-layer wedding cake? Does a builder "migrate" an old lean-to into 
a 5 bedroom mansion? Does a mechanic "migrate" a 125cc Vespa into a 
Lamborghini Contache?

I think the most efficient approach is:
1) Get ahold of the design documentation for the VB6 application.
2) Throw it out. It's mainly lies anyway.
3) Start from scratch.

Quickest, Cheapest, Correctest.

The alternative, "damn the alligators, let's jump in" approach has been 
attempted many times...
1) Write a Gambas utility program that converts the "virtual bullsh*t" 
into Gambas code.
2) Spent hours and days posting to the mailing list asking "why isn't 
Gambas like VB6?"
4) Use a more efficient approach.

Have fun.

More information about the User mailing list