Solved

How to Hide UserControl from within the control code

Posted on 1998-07-04
1
284 Views
Last Modified: 2008-02-26
I have made an ActiveX control, and i have put a command button onto it, Now as the user presses the command button i want the control to get hide, and i want to do it from the code of control itself, other way is to raise the event when user presses the command button, and then he himself has to do it in click event of usercontrol which i don't want. Please tell me if there is any way. Thanx in Advance.
0
Comment
Question by:pkaushal
1 Comment
 
LVL 2

Accepted Solution

by:
chris_a earned 50 total points
ID: 1464951
Use the extender object, this lets you get at the external properties of the usercontrol.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

708 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

13 Experts available now in Live!

Get 1:1 Help Now