LostProgrammer Posted February 25, 2004 Posted February 25, 2004 I've created a user control and added it to the tool box. I want the control to display in the bottom part of the designer like a db conn, report, dialog, etc. Not on the form itself. That way I can get it to pop up, right? Is there a property that can be set to do this, is it a different type of project? Can anyone help me? -lp Quote
Administrators PlausiblyDamp Posted February 25, 2004 Administrators Posted February 25, 2004 Don't inherit from a control, inherit from Component Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
LostProgrammer Posted February 25, 2004 Author Posted February 25, 2004 Ok, i created a component that includes my usercontrol which consists of a form with a couple of buttons. I want to use the component class to Show the usercontrol. I tried adding the comp into a new project. I put it in the toolbox but can an error when i try to drag it onto a form "not a valid assembly or com component. only files with .dll or .com can be referenced" When i added it, the file dialog was defaulting to exe's. Any help would be appreciated. -lp Quote
Administrators PlausiblyDamp Posted February 25, 2004 Administrators Posted February 25, 2004 Create the project as a class library or a windows control library Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.