Thread: activex controls ? registering.

  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,793
    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, 09: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-07-2003, 12:59 AM
  4. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 03:13 AM
  5. Inserting ActiveX controls using command-line compiler
    By geophyzzer in forum Windows Programming
    Replies: 0
    Last Post: 10-28-2002, 12:34 PM