Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-12-2017, 12:10 AM
vbaTrainee85 vbaTrainee85 is offline VBA Access and Image Magick - Not working! Windows 7 64bit VBA Access and Image Magick - Not working! Office 2013
Novice
VBA Access and Image Magick - Not working!
 
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 offline VBA Access and Image Magick - Not working! Windows 7 64bit VBA Access and Image Magick - Not working! Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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

Tags
acccess, imagemagick, vba



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
VBA Access and Image Magick - Not working! 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

Other Forums: Access Forums

All times are GMT -7. The time now is 11:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft