sedgefield01
New Member
- Joined
- Feb 17, 2016
- Messages
- 4
I have a rather large application ( over 9,000 lines of code) written in excel and Visual basic. It was developed under windows 7 Home Premium and works fine in that environment. When I copy the file to a thumb drive and try to execute it in either windows 8 or 10 I get the message
"Can't find project or library".
The reference dialog boxes are different under the 7 and 10 versions.
VERSION 7
Visual Basic for applications
Microsoft Excel 12.0 object library
OLE Automation
Microsoft Office 12.0 object library
Microsoft Forms 2.0 object library
Microsoft Windows Common Controls-2 6.0(SP6)
VERSION 10
Visual Basic for applications
Microsoft Excel 15.0 object library
OLE Automation
Microsoft Office 15.0 object library
When I browse the reference dialog box under windows 10 the following references are not shown so I cannot activate them for the compiler:
Microsoft Forms 2.0 object library
Microsoft Windows Common Controls-2 6.0(SP6)
I suspect one or more of the libraries present in the 7 version must be moved to the 10 version. Thanks to this web site I was able to identify FM20.DLL as one possible missing file. There may be others.
Here are my questions (sorry for the long preamble)
1. Does FM20.DLL as it exists in version 7 have to moved to the windows 10 environment?
2. If so how would you recommend I accomplish that (I have two physical machines, one with 7 and one with 10). The file exists on version 7 in:
c:\Windows\SysWOW64\FM20.DLL
Where would I put the file so that it would be recognized by version 10?
3. Do you know if there are any other libraries or files that will need to be moved?
I am dead in the water until I can get this resolved. Any help would be very much appreciated.
"Can't find project or library".
The reference dialog boxes are different under the 7 and 10 versions.
VERSION 7
Visual Basic for applications
Microsoft Excel 12.0 object library
OLE Automation
Microsoft Office 12.0 object library
Microsoft Forms 2.0 object library
Microsoft Windows Common Controls-2 6.0(SP6)
VERSION 10
Visual Basic for applications
Microsoft Excel 15.0 object library
OLE Automation
Microsoft Office 15.0 object library
When I browse the reference dialog box under windows 10 the following references are not shown so I cannot activate them for the compiler:
Microsoft Forms 2.0 object library
Microsoft Windows Common Controls-2 6.0(SP6)
I suspect one or more of the libraries present in the 7 version must be moved to the 10 version. Thanks to this web site I was able to identify FM20.DLL as one possible missing file. There may be others.
Here are my questions (sorry for the long preamble)
1. Does FM20.DLL as it exists in version 7 have to moved to the windows 10 environment?
2. If so how would you recommend I accomplish that (I have two physical machines, one with 7 and one with 10). The file exists on version 7 in:
c:\Windows\SysWOW64\FM20.DLL
Where would I put the file so that it would be recognized by version 10?
3. Do you know if there are any other libraries or files that will need to be moved?
I am dead in the water until I can get this resolved. Any help would be very much appreciated.