MagickImageObject not registered in VB2013
Posted: 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:
This is the error I get:
Any help is much appreciated.
Here is my code:
Code: Select all
Public Class Form1
Dim magick As New ImageMagickObject.MagickImage
End Class
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)).