Solved

ActiveX Control Help - easy

Posted on 1998-06-30
1
139 Views
Last Modified: 2010-05-03
I want to create a modified version of the dbgrid control.  All I am wanting to do is add a setdata function to it.  How do I keep all the pre-exisiting functionality available in my new control? ex: mydbgrid1.textmatrix(x,y) - This is not available for somereason. In fact, nothing is.
0
Comment
Question by:redbaron082997
1 Comment
 
LVL 2

Accepted Solution

by:
Jagar earned 50 total points
ID: 1464604
Create a new ActiveX control.  Add the DBGrid to the new control.  In the resize event on the control make the grid equal to the size of the control.  Then click on add-ins and click on ActiveX control interface wizard.  Click next a couple of times until you get to the step called Set Mapping the select everything in the left column and choose the DBGrid from the combo box on the right.  Click next anything that is still in the left column click back and select those and then select usercontrol from the combobox on the right.  Click next until you get to the end and then click finish.
This should give you everything now you just have to add what you want.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Input past end of file vbs script 9 82
Cannot enter table caption text in Word protected document 6 112
MS Date Picker 64 bit 32 bit issue 12 49
Problem to With line 4 43
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now