|
-
Nov 12th, 2005, 01:08 AM
#1
Thread Starter
Frenzied Member
Control a PDF from vba
Hi,
I want to open a PDF file and save it as .Jpeg file and I need to insert it into my MS Word document.
I have written code to insert the jpeg files in to my word document.
But, I don't know how to open a PDF file and save it as .Jpeg file through VBA Coding.
Please help!
Thanks,
CS.
-
Nov 12th, 2005, 01:03 PM
#2
Re: Control a PDF from vba
Your going to need a Utility to convert the pdf to another format or if you have the full version of Acrobat. Usually there is allot on converting any format to pdf but not too much on going the other way around.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 12th, 2005, 06:47 PM
#3
Thread Starter
Frenzied Member
Re: Control a PDF from vba
Hi,
Thanks for your reply.
I have the full version of Adobe PDF 6.0. Currently I manually saving the pdf file to Jpeg file in Adobe acrobat 6.0. I want to automate it through vba coding.
Thanks,
CS.
-
Nov 12th, 2005, 06:50 PM
#4
Re: Control a PDF from vba
Go to Adobe's site and download the SDK for Acrobat. It has many examples, and I think will allow you to automate the process. You have to register for it, but it should be free.
-
Nov 12th, 2005, 06:52 PM
#5
Re: Control a PDF from vba
6.0 SDK is no longer available as they are currently on 7.0. So you may have some compatibility issues.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 12th, 2005, 06:59 PM
#6
Re: Control a PDF from vba
Oh, I don't have it, so I didn't know that. 
Maybe you could find it elsewhere?
-
Nov 12th, 2005, 07:01 PM
#7
Re: Control a PDF from vba
I was also going to mention that if your only doing some of the basics that the compatibility hopefully would still be the same in 7.0's SDK but dont depend on it.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 13th, 2005, 06:18 AM
#8
Thread Starter
Frenzied Member
Re: Control a PDF from vba
Hi,
 Originally Posted by dglienna
Go to Adobe's site and download the SDK for Acrobat. It has many examples, and I think will allow you to automate the process. You have to register for it, but it should be free.
I tried to download the SDK for Acrobat. I think it is not free. I registered and i tried to download but i got a message that "autorization to that page is denied." Is it not free?
CS.
-
Nov 13th, 2005, 11:01 AM
#9
Re: Control a PDF from vba
Only certain areas and certain documents are free, at least the last time I logged in.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 9th, 2006, 10:23 PM
#10
Thread Starter
Frenzied Member
Re: Control a PDF from vba
Hi all,
I need solution!
Please someone help.
-
Jan 9th, 2006, 10:36 PM
#11
Re: Control a PDF from vba
Yes, Adobe only gives you some access for free but if you pay then you get it all. Its not cheap either. Is there anything in the available documentation about commandline parameters? Maybe you can shell out Acrobat with the file to saveas to jpg type?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 29th, 2006, 01:25 PM
#12
Thread Starter
Frenzied Member
Re: Control a PDF from vba
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|