Link to home
Start Free TrialLog in
Avatar of Haho
Haho

asked on

Active X - food for thought?

I am trying convert a VB5 app with many forms to be used in browsers. I converted each form to a ocx and then I assigned one html form to contain one ocx each. The problem is that, I need to pass parameters to/fro these ocxs and I can't use one ocx to call another so I call other htmls containing th ocxs but I cannot pass values to/fro them.. or can I?
What is the solution?
For your info, my app I am converting is a ODBC application.
I am a newbie in Active X so if I am wrong, pls. correct me...      

Thanks!!
Avatar of TheAnswerMan
TheAnswerMan

.
ASKER CERTIFIED SOLUTION
Avatar of methpe
methpe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Haho

ASKER

How do I add global vars? Just like usual exe global vars ? ( in a global module )
and them create a project that makes a exe from all these user documents in the project?
Yes, you add global variables by adding a standard module and declaring the variable as public.  You compile the project in the same manner as a standard exe, except when you choose the "Make <project> exe" option, it will also make a .vbd file for each user form.  This is the file you run with Internet Explorer (not the .exe).
PS.  Correction to my previous response, correct syntax is Hyperlink.NavigateTo "<document location>".
Avatar of Haho

ASKER

thanks!