CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2005
    Posts
    34

    Registering DLL or OCX in Vista

    Hi,
    I m not able to register my OCX in vista,
    Is there anyone who can help me?
    If I try to register my *.ocx it always failed with the following message:
    DLLRegisterServer ocx failed. Return code was: 0x80040200
    What's the cause of this message and how can I overcome this error?
    Thanks in Advance
    Vinoth

  2. #2
    Join Date
    Apr 1999
    Posts
    3,585

    Re: Registering DLL or OCX in Vista

    This may be the cause.
    Gort...Klaatu, Barada Nikto!

  3. #3
    Join Date
    Sep 2006
    Location
    London
    Posts
    9

    Re: Registering DLL or OCX in Vista

    Hi

    Try running as administrator...That should help
    trycatch

    The Ada Lovelace Wannabe

    "Watch me work it"

  4. #4
    Join Date
    Nov 2006
    Posts
    221

    Re: Registering DLL or OCX in Vista

    Quote Originally Posted by trycatch
    Hi

    Try running as administrator...That should help
    no we can do this with my code only...
    Please tel me how it can be done by code, thanks

  5. #5
    Join Date
    Jan 2002
    Location
    Houston, TX
    Posts
    1,421

    Re: Registering DLL or OCX in Vista

    A quick google search for 0x80040200 found this link.
    Be sure to rate those who help!
    -------------------------------------------------------------
    Karl - WK5M
    PP-ASEL-IA (N43CS)
    PGP Key: 0xDB02E193
    PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

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