Results 1 to 7 of 7

Thread: Adding to the toolbox

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    182

    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.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    182

    Re: Adding to the toolbox

    thanks alot

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    182

    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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    182

    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?

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    182

    Re: Adding to the toolbox

    thanks again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width