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.

wshore

Beginner

  • "wshore" started this thread

Posts: 5

Date of registration: Jun 13th 2011

  • Send private message

1

Monday, June 13th 2011, 9:32pm

Steps to app online

I'm quite puzzled about using Jabaco. My interest is to convert a VB6 app so that it will run on the internet. The app is a VB6 front-end to an Access db. Which project style do I begin with? The Web applet? Once all the VB6 code is converted, what then? How EXACTLY does it get online? Sorry if these questions seem primitive, but I'm still trying to get my head around just what Jabaco is. Thank you.

Warren Shore

This post has been edited 1 times, last edit by "wshore" (Jun 14th 2011, 12:09am)


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 14th 2011, 7:45pm

"Will run on the internet" could mean that you are talking about an "Applet".
Applets are executed within your web browser. To develop an applet with a database back-end, you have to develop the applet as a "front-end" which includes all presentation layer activities. The database is the back-end which includes all activities to store data changes persistently and to query data and hand it over to the front-end.

Jabaco is a design tool for applets and for stand-alone applications to be run outside of a browser.
Such a stand-alone application could also access data via the internet by establishing a network connection to some central database.

Microsoft Access is a database which can be accessed by using ODBC, a Microsoft protocol. In most cases, Access is running on the user PC and not on some remote server. To design an internet ready applications, you might want to use a database which is more network oriented than MS Access. Suitable examples include MySQL, Oracle, MS SQL Server, H2, ... to name a few. The typical database protocol is jdbc.

Depending on the importance of the data involved, you should spend some thoughts on security. Somehow, the front-end client has to convince the back-end server that it is actually entitled to access the data. This can be done by passing username and password. It might be necessary to use an encrypted communication between your clients and your server to prevent hackers from spying.

From the above mentioned topics it should have become clear that development of internet applications is an involved task which typically requires a lot of reading, training and self-study. Jabaco is a tool to experiment with the various techniques - and it comes for free!

Happy learning and experimenting

A1880

wshore

Beginner

  • "wshore" started this thread

Posts: 5

Date of registration: Jun 13th 2011

  • Send private message

3

Tuesday, June 14th 2011, 11:21pm

Thanks very much for taking the time to write such a detailed answer. I hope you don't think I'm too lazy to learn.
I'd LOVE to learn Jabaco, but the documentation I can find seems sparse at best. For example, I've loaded the .VBP file from my app and hit "Run" to show any conflicts/errors. The following line is designated:

Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)

with the word "Control" highlighted and the error message "Class Control not found".

I'd like to know how to fix this. Can you explain this one fix or tell me where I can learn how? 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, June 15th 2011, 8:53am

Jabaco is able to load a VB6 project file right away.
This helps to keep all the files together and reduce manual work.
But it cannot automatically bridge all conceivable incompatibilities.

To migrate an existing VB6 application to Jabaco, you usually have to re-implement it.
You can use copy&paste to re-use your code, but it usually takes some extra work to get it to work.

Jabaco "Form" objects don't handle DragDrop events. This has to be implemented via Mouse events.

The Jabaco Framework does not have a "Control" class. Therefore, you are getting the error message in the first place.

I agree, that documentation is far from complete, but the search facility of this forum gives some hints to most questions.
You are invited to post your findings and help others to benefit from your discoveries.

Greetings

A1880

wshore

Beginner

  • "wshore" started this thread

Posts: 5

Date of registration: Jun 13th 2011

  • Send private message

5

Wednesday, June 15th 2011, 12:55pm

Once again, thanks for your generous attention.

Rate this thread
WoltLab Burning Board