I added ImageMagickObject.dll to my Access 2010 (Win7 Pro) vba references; the code compiles, but upon attempting to convert (resize) an image
NewImage.Convert InputputFileName, "-resize", "60%", WebFileName
I get -2147418113 Automation Error Catastrophic failure
Does anybody know what could be causing this?
Thanks
Dave
VBA Automation error - catastrophic failure
Re: VBA Automation error - catastrophic failure
Found the problem - apparently ImageMagick is unhappy with early binding.
This works:
Dim NewImage As Object
Set NewImage = New ImageMagickObject.MagickImage
This does not:
Dim NewImage As New ImageMagic...
This works:
Dim NewImage As Object
Set NewImage = New ImageMagickObject.MagickImage
This does not:
Dim NewImage As New ImageMagic...