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

    Project Component File Not Found

    I have a VB6 (SP6) project that I have been editing for months on Win7 64 without any problems.

    But (possibly) after last set of Windows updates, some of the Project Component files can't be found:

    In particular, "MS Windows Common Controls 6.0 (SP6)", which is currently listed as: "C:\Windows\SysWow64\MSCOMCTL.OCX"

    Steps to repro:
    1) Open brand new EXE project in VB6
    2) Select Project \ Components from project menu
    3) Select check box for "Microsoft Wndows Common Controls 6.0 (SP6)"
    4) Click on "Apply" command button

    Result: ! File not found (The file IS at the indicated path)

    I have tried locating archived copies of this file (MSCOMCTL.OCX) in other folders, followed by REGSVR32 from the CMD (DOS box). Registration is successful.

    Opening the OCX file with "Depends" shows all dependencies are ok.

    I went back to a Windows7 backup from June 2012, and new or old projects find the file correctly. But after installing all Windows7 upgrades, the 'File not found' message is back...

    Note: Other components such as MS Common Controls 5.0 can be added, but some of the other 6.0 files (besides Common Controls) can NOT be found, at least at the 'apply' time.

    What to do??
    Last edited by burgerbyte; April 8th, 2013 at 04:13 AM.

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

    Re: Project Component File Not Found

    Upgraded to Win8 on my laptop, and that file is still at the same spot here. You might have a virus.
    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!

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