Migration from KBasic

Coding + IDE + Code-Editor + Syntax + User-Functions + Anything else

Migration from KBasic

Postby bobr » Mon Jul 22, 2013 8:51 pm

Can I import a KBasic project into Q7Basic? I have KBasic projects with large numbers of complex forms that I'd like to convert. Is it possible?
:?:
bobr
 
Posts: 8
Joined: Fri Jul 22, 2011 8:24 pm

Re: Migration from KBasic

Postby Henning » Tue Jul 23, 2013 9:40 pm

There is no easy way. It is almost as migrating a VB6 app to .Net...

In Q7b:
Create a new project named for what you intend to "migrate".

Add new Forms and populate them with QtDesigner same as the KB Forms, use same names for Forms and controls.

Add the Outlets and Signals for each Form.

Copy and paste the CODE from KB Forms to Q7b Forms. Remember that ButtonClicks/KeyDowns and such are Signals in Q7b.

Add any .bas modules to the Q7b app, copy the code from KB modules.

Start compiling, and correct errors from differencies btw KB and Q7b. Compile-Correct-Compile-Correct...

It is doable, I've done it, but it will take some time.

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm

Re: Migration from KBasic

Postby Slowdown » Thu Jul 25, 2013 11:21 am

Time to create a KB2Q7B app. :roll:
Kind regards,
Slowdown

OSX 10.8.x, VBox Xp, Ubuntu 32/64 bit, EOS 64 bit
Slowdown
 
Posts: 464
Joined: Sat May 01, 2010 7:11 pm
Location: Netherlands

Re: Migration from KBasic

Postby bobr » Thu Jul 25, 2013 4:20 pm

Thanks Henning
:(
bobr
 
Posts: 8
Joined: Fri Jul 22, 2011 8:24 pm

Re: Migration from KBasic

Postby Henning » Thu Jul 25, 2013 9:49 pm

The total migration I did was:

VB6 -> KB -> Q7b....... At least it got Bernd busy, Thanx for that support!!

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm


Return to Questions & Answers

Who is online

Users browsing this forum: No registered users and 2 guests

cron