activex controls ? registering.

This is a discussion on activex controls ? registering. within the Windows Programming forums, part of the Platform Specific Boards category; Hi folks, I' am currently reading Sams Teach Yourself VC++ in 21 days..and have hit a brick wall concerning ActiveX ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    247

    activex controls ? registering.

    Hi folks,
    I' am currently reading Sams Teach Yourself VC++ in 21 days..and have hit a brick wall concerning ActiveX controls.
    In other words I have not a clue how to register a control and the book is rather vague on the subject of registering a control. I have performed a search on MSDN and on here for an answer before posting. All links to msdn on here in the search seem to be broken or out of date.

    All leads appreciated.

    Tam.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    If you have created a self registering component, go to the command prompt and type

    regsvr32 myactivex.dll

    then

    regsvr32 /u myactivex.dll

    If you write components with ATL or MFC, all the self registering code is done for you...if not you nee to do it yourself...you house the code in a function called DllRegisterServer....there's a fair bit of registry editing to be done

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Subclassing controls
    By filler_bunny in forum Windows Programming
    Replies: 3
    Last Post: 04-28-2004, 05:43 PM
  2. Using ActiveX controls
    By KrAzY CrAb in forum Windows Programming
    Replies: 1
    Last Post: 04-05-2003, 08:48 AM
  3. I need help disabling Keyboard and Mouse input on Edit controls
    By Templario in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2003, 11:59 PM
  4. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 02:13 AM
  5. Inserting ActiveX controls using command-line compiler
    By geophyzzer in forum Windows Programming
    Replies: 0
    Last Post: 10-28-2002, 11:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21