CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Libraries

  1. #1
    Join Date
    Jun 2010
    Posts
    2

    Libraries

    Hi!
    I am using .net 3.5, with C# express and sometimes #develop.

    I needed a graph\chart, and downloaded Zedgraph. I want to use the DLL, but how do I do that?
    How do I add a library? Would it also add the chart component to the TOOLBOX?
    thanks

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Libraries

    Have you tried setting a reference to that file?

  3. #3
    Join Date
    Jun 2010
    Posts
    2

    Re: Libraries

    I hope I did.
    In Solution explorer/references I added the DLL file. Now the intelisense "recognizes" new classes, but I dont have the Zedgraph or anything new in my toolbox.
    I tried to "choose toolbox items" but couldnt find anything relevant to add.

  4. #4
    Join Date
    Jun 2008
    Posts
    2,477

    Re: Libraries

    Did you rebuild your solution after adding the reference?
    If you liked my post go ahead and give me an upvote so that my epee.... ahem, reputation will grow.

    Yes; I have a blog too - http://the-angry-gorilla.com/

  5. #5

    Re: Libraries

    You need to right click on the toolbox, select "Choose Items.." and browse to the dll containing the control.

    As a side note if you choose C# settings when you add it as a refrence to your project it will show up in the toolbox (you may need to close and re-open VS), but if you choose c++ settings you must do it manually.
    Last edited by matthewsanford@gmail.com; June 18th, 2010 at 03:07 PM.

Tags for this Thread

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

Featured