wangw Posted June 20, 2017 Report Share Posted June 20, 2017 Hi, My VB6 conversion effort requires the referencing the "Microsoft Word 16.0 Object Lib" under the Name column and the Path area is empty. This is the last dll/ocx/exe I need to reference to get to the next step. Is there a way to force the conversion even without this line referenced? thanks Link to comment Share on other sites More sharing options...
Mobilize.Net Staff willvv Posted June 20, 2017 Mobilize.Net Staff Report Share Posted June 20, 2017 Hi @wangw, thanks for choosing the VBUC to modernize your VB applications. References to the Office libraries (Word, Excel, Outlook, etc.) need to point to the automation object library file for the corresponding application, these files have the OLB extension. In the case of Word it is located in the path: c:\Program Files\Microsoft Office\[OFFICE VERSION]\MSWORD.OLB You can fix the reference by right-clicking on it in the VBUC and browsing for this path This type of errors with "unresolved references" can usually be avoided by making sure you have compiled your VB6 application in the environment where you have installed the VBUC. VB6 will let you know if there's a missing third party component that you need to install before executing the migration. Please let us know if this works. Link to comment Share on other sites More sharing options...
Mobilize.Net Staff John Browne Posted June 20, 2017 Mobilize.Net Staff Report Share Posted June 20, 2017 Hi @wangw, you inspired me to write a blog post about this problem and how to fix it. You can read it here: https://www.mobilize.net/blog/vb6-to-.net-missing-a-reference Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now