April 8th, 2013, 05:10 AM
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 05:13 AM.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!