Windows 10 Error
Posted: 2016-06-06T10:59:04-07:00
I have a Microsoft Access application that uses Visual Basic (VBA) and includes ImageMagick. The application worked properly for years in my Windows 7 computer.
Now I have a new Windows 10 computer. I installed my old version of Microsoft Office 2007 and downloaded and installed the latest version of ImageMagick.
All of my Access applications that use VBA work fine on the new computer except for the one that uses ImageMagick.
Specifically, I get “Run-time error ‘429’, ActiveX component can’t create object” on this line of code:
Set img = CreateObject("ImageMagickObject.MagickImage.1")
Since it worked before then there must be something about Windows 10, or about what I did during installation that causes the error. And I admit that it’s been so long since I set up ImageMagick on the old computer that I don’t remember what I did, so there’s a good chance it’s me.
Here are some things that I worried about that might be the problem.
>Should I have used the static or dynamic version of ImageMagick?
>What boxes should I have checked during ImageMagick installation?
>Is there something else I should do to register ImageMagick or somehow make it available to the application?
>Is there some Windows 10 Permission, or Check Box, or Security level, or Option that needs a certain setting?
>In the Visual Basic Editor under Tools > Reference; What references should I have checked?
>What other things that I don’t know about could cause the problem and how do I correct them?
Thanks,
David
Now I have a new Windows 10 computer. I installed my old version of Microsoft Office 2007 and downloaded and installed the latest version of ImageMagick.
All of my Access applications that use VBA work fine on the new computer except for the one that uses ImageMagick.
Specifically, I get “Run-time error ‘429’, ActiveX component can’t create object” on this line of code:
Set img = CreateObject("ImageMagickObject.MagickImage.1")
Since it worked before then there must be something about Windows 10, or about what I did during installation that causes the error. And I admit that it’s been so long since I set up ImageMagick on the old computer that I don’t remember what I did, so there’s a good chance it’s me.
Here are some things that I worried about that might be the problem.
>Should I have used the static or dynamic version of ImageMagick?
>What boxes should I have checked during ImageMagick installation?
>Is there something else I should do to register ImageMagick or somehow make it available to the application?
>Is there some Windows 10 Permission, or Check Box, or Security level, or Option that needs a certain setting?
>In the Visual Basic Editor under Tools > Reference; What references should I have checked?
>What other things that I don’t know about could cause the problem and how do I correct them?
Thanks,
David