Saving PDF to JPEG via VB code

  • Thread starter Thread starter JLindemann
  • Start date Start date
J

JLindemann

Guest
Is there a way to save a single paged PDF file to a JPEG file using VB code? I am currently using Visual Studio. Here is the code I currently have that isn't working:


Dim

oPDF As New Acrobat.AcroPDDoc


oPDF.Open(
"C:\Documents and Settings\tk46261\My Documents\sickdays.pdf")


i = Acrobat.PDSaveFlags.PDSaveFull

oPDF.Save(i,
"C:\Documents and Settings\tk46261\Desktop\Print Excel To JPG\test.jpeg")




Any help would be greatly appreciated! Or an alternative method would be great too!

Thanks!


Continue reading...
 

Similar threads

E
Replies
0
Views
45
Elizabeth Swain
E
A
Replies
0
Views
144
ADAMALA (MCTS, MCITP)
A
G
Replies
0
Views
143
guyinkalamazoo3
G
Back
Top