|
-
Nov 7th, 2006, 09:30 PM
#1
Thread Starter
Addicted Member
Adding to the toolbox
How do i add to the toolbox.
The tool box that has the textbox, button controls and so on.
How do i add a item to it?
I am using someone elses tutorial for my program and noticing that it has one extra tool in the toolbox.
can some one tell me?
Last edited by jermaine; Nov 7th, 2006 at 09:47 PM.
-
Nov 7th, 2006, 09:39 PM
#2
Re: Adding to the toolbox
Right click it and select the appropriate option fro your version. Where, and whether, you will find the component you want depends on what you're looking for and whether you have it installed.
-
Nov 7th, 2006, 09:58 PM
#3
Thread Starter
Addicted Member
Re: Adding to the toolbox
-
Nov 7th, 2006, 10:18 PM
#4
Thread Starter
Addicted Member
Re: Adding to the toolbox
i am getting a error thats says alot i uploaded a screenshot if someone wans to help me out
Last edited by jermaine; Nov 7th, 2006 at 10:25 PM.
-
Nov 7th, 2006, 10:27 PM
#5
Thread Starter
Addicted Member
Re: Adding to the toolbox
sorry i now yall probably cant see the text in that error, but may somebody has some idea of maybe what it is?
-
Nov 7th, 2006, 10:37 PM
#6
Re: Adding to the toolbox
I'm guessing that that HtmlEditorControl is a UserControl with a browser control on it, correct? That browser is an ActiveX control and thus needs an Interop assembly in order for your .NET app to interoperate with it. The error message is saying that that assembly is not present. If you add an ActiveX web browser control to a form in your project the IDE will generate the required Interop assembly for you. You can then delete the browser and the assembly and reference will be left behind, thus allowing your HtmlEditorControl to work. To add an ActiveX web browser to a form you'll have to first add it to the Toolbox. It can be found on the COM Components tab named something like Microsoft Web Browser.
Having said all that, given that you're using .NET 2.0 it would be preferable to use the .NET WebBrowser control if possible. Do you have the source code for that control? If so you might like to remove the ActiveX control and replace it with the .NET control. You'd then need to update the code a little but it should all be relatively similar. Up to you of course.
-
Nov 7th, 2006, 10:39 PM
#7
Thread Starter
Addicted Member
Re: Adding to the toolbox
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|