Link to home
Start Free TrialLog in
Avatar of phanpt
phanpt

asked on

Create ActiveX Control

I created an ActiveX Control included DBgrid and ADO control on this ActiveX Control by VB 6.0. After  compiling the control, I used Visual Interdev 6.0 to add this control to HTML Page.  It worked well; however, the ActiveX control loaded records right away as it was added to HTML form.  I want the ActiveX control to connect to database when the HTML page loads and disconnect when HTLM unload. Which method or properties to set the
connection to database and disconnection for ActiveX Control.  I don't want ActiveX Control get data immediately as it was dragged and droped to the HTML form.
   Thank in advance for your tip.

                        Peter Phan
Avatar of Marine
Marine

Well why don't you provide certain Methods and properties which you will have to set during Design time of your asp session and then only retrieve information.
ASKER CERTIFIED SOLUTION
Avatar of IsaacRU
IsaacRU

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