You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

turkulainen

Beginner

  • "turkulainen" is male
  • "turkulainen" started this thread

Posts: 20

Date of registration: Jun 30th 2009

Location: Turku, Finland

Occupation: engineer

  • Send private message

1

Tuesday, June 30th 2009, 8:36pm

Considering the move to Jabaco

Jabaco seems to be an excellent alternative to VB6. However, there are some differences, which one can perhaps learn quickly. But it would be good to have a list of the differences somewhere to make debugging easier. I have over 40 forms in VB6 (engineering calculations, lots of plots), and I suspect it will take a lot of effort to put them in Jabaco unless there is a good user's manual, preferably listing what needs to be changed from VB6 to Jabaco.

I read that you cannot have an array of text boxes or labels. This would make things a bit difficult for me. For reading and writing files, there is a different syntax. It would be good to have some guidance.

I have a feeling that this is a better alternative than FreeBasic, K Basic, NS Basic. Any comments on the matter will be appreciated.

I hope people happy with Jabaco will encourage me to move to Jabaco. But then I will of course need some help. Some day I hope to be able to help others..

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Tuesday, June 30th 2009, 8:57pm

Hi,
well, give it a try and port your hardest form from VB6 to Jabaco to get an impression ;-)

The issue of arrays of controls has been discussed here.
The latest Jabaco beta version 1.4.2 is capable to handle arrays of controls See the feature list.

There is no real handbook, but the Jabaco community will give you a helping hand and answer your questions.

Success!

A1880

This post has been edited 1 times, last edit by "A1880" (Jun 30th 2009, 9:34pm)


turkulainen

Beginner

  • "turkulainen" is male
  • "turkulainen" started this thread

Posts: 20

Date of registration: Jun 30th 2009

Location: Turku, Finland

Occupation: engineer

  • Send private message

3

Wednesday, July 1st 2009, 6:27pm

How do I figure out which form is the most difficult one? I don't know which features require the most changes.

Thanks.

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

4

Wednesday, July 1st 2009, 7:32pm

You might select the form with the ...
... biggest *.frm/*.bas source file(s)
... highest number of interdependent source files
... highest number of "declare" statements to access external DLLs
... most complicated createObject/getObject construction to access ActiveX/OCX objects
... highest number of controls
... trickiest database access
... most advanced graphics output

Good choice!

A1880

turkulainen

Beginner

  • "turkulainen" is male
  • "turkulainen" started this thread

Posts: 20

Date of registration: Jun 30th 2009

Location: Turku, Finland

Occupation: engineer

  • Send private message

5

Thursday, July 2nd 2009, 7:40pm

Thanks for your reply. I don't have ActiveX objects or database matters at all. Some of the forms use a couple of APIs like gdi32 and user32. Some use BitBlt, but otherwise mostly simple stuff which I now believe Jabaco will handle without needing changes. File handling needs a different syntax but that I think I will manage. I tried writing a simple program with two controls and two lines of code, and Jabaco could convert it fine.

My bigger problem now is that I can't get even a trivial program to run in Jabaco. Either something in JRE is missing or I have not figured out how to declare the starting point as Form1.

At java.net.URLClassLoader$1.run (Unknown Source) and several other similar lines appear in the debugging window on the right side. I have no idea what is missing. This is probably not a Jabaco error, but it would be good to have some help. Jabaco could check if something is missing and alert the user before the program stumbles this way.

You might select the form with the ...
... biggest *.frm/*.bas source file(s)
... highest number of interdependent source files
... highest number of "declare" statements to access external DLLs
... most complicated createObject/getObject construction to access ActiveX/OCX objects
... highest number of controls
... trickiest database access
... most advanced graphics output

Good choice!

A1880

Similar threads

Rate this thread
WoltLab Burning Board