Microsoft Office Forums

Go Back   Microsoft Office Forums > Windows and Other Software > Other Software

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-12-2017, 12:10 AM
vbaTrainee85 vbaTrainee85 is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Jul 2017
Posts: 1
vbaTrainee85 is on a distinguished road
Default VBA Access and Image Magick - Not working!

Hello,

I am trying to work with imageMagick and VBA Access -
I registerd the ImageMagickObject.dll and put it in the VBA Library

I get this error warning : 429 Cannnot create object through activex component

My Code:

Dim img As New ImageMagickObject.MagickImage


Dim path As String
Dim output As String
Dim RetVal As Object

Sub tests()
path = "C:\Users\ged\Desktop\PDF VBA\PrivatRente.pdf"
output = "C:\Users\ged\Desktop\PDF VBA\PrivateRente2.pdf"

'Set img = New ImageMagickObject.MagickImage
img.Compare (path)
RetVal = img.Convert(path, output)

Set img = Nothing
End Sub
Reply With Quote
  #2  
Old 07-12-2017, 05:14 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,341
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

As advised on the board's home page:
Please visit AccessForum.net for Access related discussions.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Tags
acccess, imagemagick, vba
Please reply to this thread with any new information or opinions.

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel ADO query from Access Not Working bconner Excel Programming 0 03-22-2017 09:29 AM
Setting up signature image and image is received blurry Beesoy06 Outlook 2 03-23-2015 09:01 PM
Printing image in Word not working correctly reportmaster Word 1 02-09-2015 10:18 PM
Losing image resolution when inserting image into MS word (2011: Mac) Mario.N Drawing and Graphics 0 11-23-2014 02:38 AM
Access 2007 Upgrade After Initial Install - Access 2003 Won't Remove wcb Office 1 01-25-2010 04:08 AM


All times are GMT -7. The time now is 02:11 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft