You are trying to use 32-bit COM components on a 64-bit operating system. You'll need to force your VB.NET program to run in 32-bit mode, it will run in 64-bit mode by default. Unfortunately, that's difficult with the Express edition, the required Target Platform setting in the Compile properties tab is not available. All that you can do is use the Corflags.exe utility from the Windows SDK to force the 32BIT flag. That's quite inconvenient, consider getting the retail license to get ahead.
Hans Passant.- Marked As Answer byLPJ Wednesday, August 26, 2009 6:32 PM
-
|