473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to export all images from pdf?

I need to extract images from pdf file. There is option in Acrobat 8.0(Advanced-->Document Processing-->Export All images). I tried to automate that process. But i could not know how to close the browser window. Could you please advice me. I pasted my code below.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim gp As Acrobat.CAcroApp
Dim gpdoc As Acrobat.CAcroAVDoc
gp = CType(CreateObject("AcroExch.App"), Acrobat.CAcroApp)
gpdoc = CType(CreateObject("AcroExch.AVDoc"), Acrobat.CAcroAVDoc)
gpdoc.Open("D:\main.pdf", "Acrobat")
gp.Show()
Dim ok As Boolean
ok = gp.MenuItemExecute("ImageConversion:Export")
If ok = False Then
MessageBox.Show("Faile")
End If
End Sub

Thanks,
Prabudass
Oct 24 '08 #1
0 2104

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Markus Keuthmann | last post by:
I want to export all images from the DB2 sample database (sample) in different files. My export-statement: db2 "export to G:\images\emp_photo.del of del lobs to G:\images\ lobfile image...
16
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
6
by: Chris Cox | last post by:
I'm trying to put together a simple access database that will allow a friend to maintain a simple database of products/pictures/prices, which he can then export to html and upload to a website. ...
2
by: Bidarkota | last post by:
Hi, I have a DataGrid in which there are some images and Data are displayed and in the webform.asp page i am using some stylesheets. when i export the datagrid all the images are also exported...
7
by: Kejpa | last post by:
Hi, does anyone have a sub for exporting the images (all or selected) of an imagelist as files? TIA Kejpa
0
by: sonali | last post by:
when i export grid to word i got whole data but on that grid i have some run time created images that gives some problem images come blank (there is grid inside table) Dim str As String...
7
by: tinman | last post by:
Hi, nooB here, I came here cause you folks know WAY more than I do. I'm an artist, I use access 2002 to organize records of my paintings, which include images of each one. Often I want to email...
1
by: pankajhotmailone | last post by:
I m trying to make a powerpoint presentation in VB6 Want to export text and images to Powerpoint Presentation. I have already many slide like pictureboxs which feel like powerpoint but it isn't....
0
by: =?Utf-8?B?U2hhbQ==?= | last post by:
Hai all, In my application, I need to Export webpage things into hard drive. I am using gridview, and i export all things(with the help of some sites) into excel except images. Please, Can...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.