Microsoft
Software
Hardware
Network
Question : Windows 7 + Visual Basic 2008 + COM libraries
I have several programs that I wrote in Visual Basic 2008 under Windows XP and they are runing fine in XP.
Now I have changed my OS to Windows 7 and the COM libraries that I use in the programs give the same error when i try to use them inside the program.
Class Not Registered (Exception of HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
I have cheked with regedit that the classes are inside the registry but apparently Vb.net does not find them.
can this be a permission problem, because COM libraries are under Program Files (x86)
Do you have any suggestion to solve this ?
Answer : Windows 7 + Visual Basic 2008 + COM libraries
You have to compile your project as x86 and not x64 or AnyCPU.
This will tell to VB to use the classes under the Wow6432Node in the registry where all the the 32 bit classes reside.
Random Solutions
NETWORKDAYS substitute
How to Programmatically Add Metadata to Windows Files
High Concurrent User Count - Best Practices?
Replacing OCX Controls used in Microsoft Access 2007
How to read field names from an XSD file.
Can not import emails from Outlook Express to Outlook in Windows Vista
Is there any Chinese writing PAD driver source code for windows and mac?
Can't change working time in project 2007
Opening a report in Access - It asks a question - The answer I type is added as text in the report
NAME? in fields on crosstab query subform