Converting from VB6 programming language

Want to move your code and projects to LiveCode but don't know where to start?

Moderators: FourthWorld, heatherlaine, Klaus, robinmiller

Post Reply
VB6 Programming
Posts: 3
Joined: Fri Apr 03, 2015 11:49 am

Converting from VB6 programming language

Post by VB6 Programming » Fri Apr 03, 2015 1:03 pm

Is there a utility to convert/migrate from VB6 ?

Klaus
Posts: 13978
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Converting from VB6 programming language

Post by Klaus » Fri Apr 03, 2015 1:11 pm

Hi VB6 Programming,

welcome to the forum! :D
Is there a utility to convert/migrate from VB6 ?
I don't think there is such an utility, at least I have never heard of one.


Best

Klaus

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 366
Joined: Mon Jun 10, 2013 1:32 pm

Re: Converting from VB6 programming language - YES WE CAN

Post by Lagi Pittas » Wed Apr 15, 2015 3:29 pm

Hi

It's been available for years

https://www.fmpromigrator.com/services/ ... rvice.html

and filemaker and foxpro and php and access .....

Top 10 Features

Conversion of VB6 forms into LiveCode cards, with code added to individual card objects [Uses: LiveCode Commercial Edition].
Processing of a wide variety of BASIC syntax source files from multiple BASIC IDEs.
(Including, but not limited to: Visual Basic, VBScript, VBA, PowerBasic, ZBASIC/FutureBasic and RealBasic.)
Quickly process files within all subdirectories of a selected source directory.
Converted files are saved as .lc files or individual cards within a new LiveCode stack file.
Save many hours of manual retyping, performing the initial code conversion within seconds.
Supported statements include: DIM,LET, FOR/NEXT/LOOP/WHILE, SELECT/CASE, FUNCTION/SUB definitions and many more.
Common functions are remapped into LiveCode code: Trim(),Len(),Exit,Inc/Dec,LCase(),UCase(),XOr and many more
Sub/Functions are converted into LiveCode "on HandlerName/function FunctionName" definitions closed with "end HandlerName/FunctionName"
SELECT CASE code is converted into LiveCode code with "break" statements added to close each CASE block.
Convert older single-platform BASIC code into multi-platform LiveCode projects deployable on desktop, server, web and mobile platforms.

Lagi

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9748
Joined: Fri Feb 19, 2010 10:17 am

Re: Converting from VB6 programming language

Post by richmond62 » Wed Apr 15, 2015 4:04 pm

The main "snag" with that is that, first, you have to pay for a Livecode Commercial licence, and then you have to pay for the conversion software.

I don't entirely understand with FmPro Migrator Platinum Edition why it will not work with OS Community LC as well.

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Re: Converting from VB6 programming language

Post by paul_gr » Wed Apr 15, 2015 9:12 pm

VB6 Programming wrote:Is there a utility to convert/migrate from VB6 ?
If you are an experienced Basic user and would rather stay with using Basic, have a look at Basic4Android, now called B4A.
They also make B4i for iOS devices, and B4J (free) can produce compiled apps that can run on Windows, Mac, Linux and ARM boards.

Paul

dsimpson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 15
Joined: Thu Dec 18, 2008 10:10 pm
Contact:

Re: Converting from VB6 programming language

Post by dsimpson » Sun Apr 19, 2015 5:49 pm

I have considered a version of the VB6 Conversion feature supporting Community Edition as well as Commercial Edition.

I am waiting for a few items to occur first, during the LiveCode 8 Development cycle:
1) The ability for users to actually see 3rd party products within the LiveCode Extensions Manager window.
2) The capability for users to successfully search the Extensions Store in that window for items they want to find. Imagine that there are thousands of widgets/libraries/extensions, how would anyone be able to scroll thru all of them. It is likely that a VB6 developer could want to type in just those letters "VB6" into a search box to see if there is anything which would help them.
[There is a search feature implemented now, but nothing shows up in the results list for me. And no matter what I search for, I get an answer of: "9 Extensions : Search results for "livecode"]
3) Having the ability to offer monthly pricing as well as a permanent license purchase for Commercial Edition developers. Just like you see being available for LiveCode itself. This would be just as valuable to 3rd party developers as it is for LiveCode itself.
4) Having the ability to Add/Update product info in the 3rd party marketplace store.

I am sure that all of these items will get sorted out in due time. I am willing to be patient as the LiveCode team works on these items.

I am really excited about LiveCode 8, and the new Extensions Store. I think that this is the most exciting release I have ever seen in the 14 years I have been using LiveCode. It really is the LiveCode we have been wanting to use for all these years. And it will only get better as time goes on. It is a great way for LiveCode to leverage the hard work of developers everywhere who can contribute to the success of the product. Just like Apple, and the App store. IOS devices would not be nearly as popular if there wasn't so much 3rd party software available for them. No single company can write every app which is needed for a particular platform.
David Simpson
www.fmpromigrator.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9748
Joined: Fri Feb 19, 2010 10:17 am

Re: Converting from VB6 programming language

Post by richmond62 » Sun Apr 19, 2015 6:41 pm

B4J (free) . . .

AND, where do I end up? http://b4j.ca/ . . . ROTFL

After a while I got here: http://www.b4x.com/b4j.html
\
And got all excited: "The compiled apps can run on Windows, Mac, Linux and ARM boards (such as Raspberry Pi)."

AND then got all unexcited when I found out that the IDE seems only to run on Windows.

I really wonder, apart from LiveCode and Xojo (the IDE formally known as Prince), if there are any IDEs that run on
the 3 major platforms?

This: "B4J UI apps depend on Java FX. Java FX is part of Java JRE 7 (build 6+)." also seems a negative: whenever
an "app" is dependent on an end-user having to install something that might not be "there" as part of a plain-vanilla
system install, I get uneasy.

dsimpson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 15
Joined: Thu Dec 18, 2008 10:10 pm
Contact:

Re: Converting from VB6 programming language

Post by dsimpson » Sun Apr 19, 2015 6:49 pm

Break for Jesus, B4J.ca

As a Christian, it looks like a nice website to me. Though I am not from the Ukraine, I am sure that it is a blessing to Ukrainian Christians in Toronto.

But it looks like you really are looking for the website:

http://www.b4x.com/b4j.html
David Simpson
www.fmpromigrator.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9748
Joined: Fri Feb 19, 2010 10:17 am

Re: Converting from VB6 programming language

Post by richmond62 » Sun Apr 19, 2015 7:08 pm

It probably is rather nice for Uniate Ukrainians in Toronto: although I cannot help wondering how many there are over there.

Uniates are a funny bunch as they have combined the Orthodox liturgy, rituals and calendar with an acknowledgement of the Bishop of Rome
as their Patriarch: sort of half Orthodox, half Catholic.

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Re: Converting from VB6 programming language

Post by paul_gr » Sun Apr 19, 2015 9:02 pm

richmond62 wrote: AND then got all unexcited when I found out that the IDE seems only to run on Windows.
I mentioned B4A,B4i and B4J (windows only) because the OP was talking about converting from VB6 (Windows only).

Paul

VB6 Programming
Posts: 3
Joined: Fri Apr 03, 2015 11:49 am

Re: Converting from VB6 programming language

Post by VB6 Programming » Mon May 27, 2024 1:05 am

At last there is a way to convert from VB6. The twinBASIC programming language can import VB6 code.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9748
Joined: Fri Feb 19, 2010 10:17 am

Re: Converting from VB6 programming language

Post by richmond62 » Mon May 27, 2024 9:24 am

https://twinbasic.com/
The twinBASIC programming language can import VB6 code
That sounds useful as far as it goes: but, presumably it cannot then convert it into LiveCode.

Windows only.

This is not 'converting' as originally mentioned in this thread, it is just a continuation of VBA6.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9960
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Converting from VB6 programming language

Post by FourthWorld » Mon May 27, 2024 4:41 pm

I've never seen a post from that user about LiveCode. But since they joined in 2015 and patiently waited for nine years to promote a product unrelated to LiveCode, I admire their stamina and feel no need to take any moderator action. 😎
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

stam
Posts: 2995
Joined: Sun Jun 04, 2006 9:39 pm

Re: Converting from VB6 programming language

Post by stam » Mon May 27, 2024 6:41 pm

FourthWorld wrote:
Mon May 27, 2024 4:41 pm
I admire their stamina and feel no need to take any moderator action. 😎
:D :P :lol: :lol: :lol:

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9748
Joined: Fri Feb 19, 2010 10:17 am

Re: Converting from VB6 programming language

Post by richmond62 » Mon May 27, 2024 7:21 pm

Very odd indeed.

I worked with VB 5 during a Masters course and used to go home every night and reduplicate each exercise in RunRev; which served 2 purposes:

1. The exercises were great for improving my RunRev skills.

2. I'd not go near VBA or VB 5 with a ten foot pole after I'd finished my Masters.

I felt that VB 5 had lost all the charm and ease of use of BBC BASIC, and its object-based 'thing-GUI' was a half-c*ck job compared with RunRev.

Unlike RunRev each 'object' did not really have its own code: one had to access a great, long list of code (pace BBC B) and scroll frantically until one located the code relevant to the object one wanted to tweak.

Post Reply

Return to “Converting to LiveCode”