Hi @ll
maybe you have already noticed that
JACOB by Dan Adler is very helpful, when you want to use objects out of ActiveXdlls in Jabaco.
Former threads already showed how to use JACOB. The first one was posted by StefanSchnell.
How to use JavaCOMBridge (JaCoB) with Microsoft Word
There is only one hard thing left:
you have to write much Code and you have to
know the names of the classes and methods. You could dig the internet or look into the objectbrowser of VB6 or OLEView.
Now we have another possibility: TyTex
Download it from below, it comes as VB6-sourcecode and also with the binary file.
What it does: It generates VB and Java-Code out of every type library. Every COM-dll like ActiveXdlls, olb, ocx has a typelibrary inside it's resources. This type library holds the following informations:
Enums, Type-definition, Class-definition, Interfaces-definition, Events, Methods, Helpstrings, Aliases and even Unions.
TyTex uses the tlbinf32.dll to extract this information definition and converts it to either Jabaco or Java-code
TyTex does not generate JACOB-code until now, but with this feature it could be possible to produce automated ActiveX-support for Jabaco
have fun with Jabaco!
OlimilO