?
Solved

Create ActiveX Control

Posted on 2000-04-25
2
Medium Priority
?
147 Views
Last Modified: 2010-05-02
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
0
Comment
Question by:phanpt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Expert Comment

by:Marine
ID: 2749166
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.
0
 

Accepted Solution

by:
IsaacRU earned 200 total points
ID: 2756208
Perhaps you can add code to the Terminate event of the control to disconnect from the database.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question