Page 1 of 1

Cannot use COM on VB on Vista64-Error with COM Class Factory

Posted: 2010-06-01T13:28:40-07:00
by NeilF
If I try my application (in debug) on a Windows XP system all seems OK...

Try it on my main machine running Vista 64 bit, and the moment I get to:-
Dim ImageMagick As New ImageMagickObject.MagickImage

I get an error:-
Retrieving the COM class factory for component with CLSID {5630BE5A-3F5F-4BCA-A511-AD6A6386CAC1} failed due to the following error: 80040154.


Any idea what's up please?

Re: Cannot use COM on VB on Vista64-Error with COM Class Fac

Posted: 2010-06-02T00:52:06-07:00
by NeilF
Managed to sort it...

Edited the .vproj file and added "<platformtarget>x86</platformtarget>" to every "<ProjectGroup>"

http://code.ladasoukup.cz/2009/02/visua ... -with.html