Solved

How to Hide UserControl from within the control code

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

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

Suggested Solutions

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

839 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