CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2010
    Posts
    1

    Thumbs down Error 339: component "MSHFLXGD.OCX" or one of its dependencies not currently register

    I developed a VB 6 application and installed on client PC with windows XP SP2, It instaleed successfully and Runs perfectly under administrator account. but it throws "Error 339: component "MSHFLXGD.OCX" or one of its dependencies not currently registered: a file is missing or invalid" when i run under limited user account.

    to solve it I tried to register that file using "regsvr32 mshflxgd.ocx" and it did registered successfully under administrator account but i cant do it same under limited user account.

    i also tried to unregister and re register same file.

    I give full control to that file to everyone in security tab.

    but still it throws same error. when I installed same application to different machine it works fine under limited account.

    I need to make it work on the same pc that throwing error and under limited account any how. please help me

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Error 339: component "MSHFLXGD.OCX" or one of its dependencies not currently regi

    Which OS?

    Try registering the dll in the home directory, that the program is in. Register as ADMIN and see if USER works. Sounds like Vista/Win7
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Oct 2007
    Posts
    9

    Re: Error 339: component "MSHFLXGD.OCX" or one of its dependencies not currently regi

    just check in User account

    otherwise install Vb6.0 after that remove the software

    i am sure it will work

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Error 339: component "MSHFLXGD.OCX" or one of its dependencies not currently regi

    VB6 is NOT installed on the CLIENT MACHINE...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    1,901

    Re: Error 339: component "MSHFLXGD.OCX" or one of its dependencies not currently regi

    May be a silly question

    You did run the "regsvr32 mshflxgd.ocx" as "Run as Administrator" ??

    Put it in a Batch file if necessary

  6. #6
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Error 339: component "MSHFLXGD.OCX" or one of its dependencies not currently regi

    Quote Originally Posted by George1111 View Post
    May be a silly question

    You did run the "regsvr32 mshflxgd.ocx" as "Run as Administrator" ??

    Put it in a Batch file if necessary


    from a USER ACCOUNT! FAILS every time
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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