Solved

How to Hide UserControl from within the control code

Posted on 1998-07-04
1
288 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…

680 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