Results 1 to 5 of 5

Thread: Windows Control Library

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2002
    Posts
    27

    Windows Control Library

    How do I create an OCX? The Windows Control Library only creates a DLL that I can reference, but it doesn't add my control to the toolbox.
    CodeMagician
    Ain't Codn' Fun?

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    You have to add it yourself. Right click on the toolbox and select 'add/remove items', then find your dll. It will be added at the bottom of the toolbox.

    BTW there are no more OCX. Controls are now dlls.
    Dont gain the world and lose your soul

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2002
    Posts
    27
    Ok, but I get an error that says it's not registered as a COM object
    CodeMagician
    Ain't Codn' Fun?

  4. #4
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    You are probably in the tab that says COM Components, switch to one that says .NET Framework Components.
    Dont gain the world and lose your soul

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Aug 2002
    Posts
    27
    AHHHHHHHHHHHHH. It worked. I can't believe I did that. Thanks.
    CodeMagician
    Ain't Codn' Fun?

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