Solved

ActiveX Control Help - easy

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…

813 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