MagickImageObject not registered in VB2013

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
mcguinnessdr
Posts: 6
Joined: 2013-08-26T15:07:41-07:00
Authentication code: 6789

MagickImageObject not registered in VB2013

Post by mcguinnessdr » 2013-08-26T15:48:44-07:00

Hello, I'm trying to use ImageMagick in my VB program, but I get an error when I try and run my program. I've tried registering the ImageMagickObject.dll by using "regsvr32 /c /s", but that didn't help. I've tried using different installers, including the x64 dynamic. I've selected it as a reference inside visual studio. I'm running windows 8 on a 64 bit i-7.
Here is my code:

Code: Select all

Public Class Form1
    Dim magick As New ImageMagickObject.MagickImage
End Class
This is the error I get:

Code: Select all

An unhandled exception of type 'System.InvalidOperationException' occurred in SVGtoPNG.exe

Additional information: An error occurred creating the form. See Exception.InnerException for details.  The error is: Retrieving the COM class factory for component with CLSID {5630BE5A-3F5F-4BCA-A511-AD6A6386CAC1} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Any help is much appreciated.

Post Reply