Tips on translating from VB6

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

Moderators: FourthWorld, heatherlaine, Klaus, robinmiller

Post Reply
tbalazs
Posts: 9
Joined: Tue Sep 22, 2009 10:21 pm

Tips on translating from VB6

Post by tbalazs » Tue Sep 29, 2009 4:01 pm

Does anyone have experience of recoding a VB6 project into Rev? Is it a question of starting from scratch or are there some shortcuts that people can recommend?
Thanks for any help.
Tony.

chriswood
Posts: 23
Joined: Mon Feb 23, 2009 2:27 am

Tips on translating from VB6

Post by chriswood » Sat Oct 17, 2009 9:55 am

Tony,

I've done a little VB6 & alot of VBA programming and Rev is a totally different animal. I'm afraid it's gonna be starting from scratch.

The thing that confused me the most was that there is no way to pick 'Event handlers' for controls - you need to look them up in the dictionary!

Best Regards

Chris

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Location: Philippines
Contact:

Post by shadowslash » Sat Oct 17, 2009 12:04 pm

Some of the basics is that VB6 mostly relies on variable setting in such a way as the example below:

TextField1.text = "Test"

Where as, if you are going to set TextField1's content to "Test" using Transcript programming, you would use a much different code like below:

put "Test" into field "TextField1"

As far as I know, that's pretty much how it works... Image
Parañaque, Philippines
Image
Image

Post Reply

Return to “Converting to LiveCode”