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
How can I get the Start and End dates used in a seach to display on the report? MS RS 2005
using the packaging wizard in XP ODEunst.exe not found in package setup
Link Excel Workbook to Access
How to Detect Movement from a Datasheet to a SubDataSheet
Code to open a .csv file, edit and save
Freeware Registry Editor for WIndows Mobile 6.1?
MS Server 2003 - Missing gpedit.msc
Excel file corruption - I can run Open event in Safe Mode
Excel Keep/Delete Records in Sheet1 that are in Sheet2
Windows XP sp3 file c:\windows\system32\driver<wbr />s\atapi.sy<wbr />s is open or in use by another application. close all applications and retry