Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ActiveX Control Help - easy

Posted on 1998-06-30
1
Medium Priority
?
145 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
[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
1 Comment
 
LVL 2

Accepted Solution

by:
Jagar earned 200 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

719 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