Solved

ActiveX Control Help - easy

Posted on 1998-06-30
1
141 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

790 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