.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

How to create a control in windows application also how could add in the Tool box itself

Posted By: Savi3     Posted Date: September 01, 2008    Points:2   Category :C#
Plz tell me

Responses
Author: Pankaj Mishra             
Posted Date: September 01, 2008     Points: 5   

Hi,
For that you have to create Custom Control.Choose Custom control from "Choose Item" by right click on the project. After compilation that custom control you can add by Right click in ToolBox .

Cheers
Pankaj

Author: Savi3             
Posted Date: September 01, 2008     Points: 5   

User Control s displaying.. Not like Custom Control

Author: Pankaj Mishra             
Posted Date: September 01, 2008     Points: 5   

Hi,
Right click on toolbox click on "Choose Item" then browse your Custom Control DLL then apply.

Hope this will help you

Cheers
Pankaj

Author: Savi3             
Posted Date: September 01, 2008     Points: 5   

Sorry i found Custom Control.. Tell me the steps next..
I put buttons in that.. Then next how can i add to toolbox

Author: Savi3             
Posted Date: September 01, 2008     Points: 5   

Sorry to disturb u again and again still i didnt got..

Am only creating the Custom control.. But where the dll files for my corresponding control it placed

Author: Pankaj Mishra             
Posted Date: September 01, 2008     Points: 5   

Hi,
You should know where you have created custom control project in your system or you can search your dll in your system.

Cheers
Pankaj

Author: Savi3             
Posted Date: September 01, 2008     Points: 5   

It Automatically created the dll files ah..

i didnt got thet dll file.

I check there only 2 file are available .sln,. suo only

Author: Pankaj Mishra             
Posted Date: September 02, 2008     Points: 5   

Hi,
No you are seeing in wrong location you can serach [ProjectName].dll in your entire system.

Cheers
Pankaj

Author: Santosh             
Posted Date: October 08, 2009     Points: 5   

hi
if u got the DLL,then follow the following steps to add in ToolBox

Step:1 Click on ToolBox
Step:2 Right Click on ToolBox and Add Tab.
Step:3 Give the Name Like(MyControl)
Step:4 Again Right Click Below of this Tab.
Step:5 Select Choose Items.
Step:6 A Window Will Open then Click on Browse button.
Step:7 Browse your Control Dll.
Step:8 After Browsing Click on OK.All the Control's Under that DLL Will Come Under your MyControl Tab.


Thanx

Santosh



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend