We have many VB.Net Windows Desktop apps in VB.Net. This particular one in 2015.
What we have been noticing over the past couple of months is that apps that have not changed when opened in VB are now getting errors like "Type 'SHDocVw.InternetExlorer' is not defined". Apparently the references can no longer be found???
In this case it relates to:
Dim WithEvents oauthBrowser As New SHDocVw.InternetExplorer()
which is getting the error.
Other apps with the same exact code (original code was copied years ago) and reference are NOT getting the error. Some also on VB.2015 and some on VB.2017.
This just doesn't make sense to me and for this app I cannot even figure out how to fix it. The 4 other apps do NOT have any references to Interop.SHDocVw or anything else related. I checked all the IMPORT statements, references and included namespaces and they are all the same.
So why is this happening and how to fix it?
Thanks
What I have tried:
Restarting VB.Net, Rebooting. Clean Project, Rebuild