473,549 Members | 3,109 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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(ByVa l sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
Dim gp As Acrobat.CAcroAp p
Dim gpdoc As Acrobat.CAcroAV Doc
gp = CType(CreateObj ect("AcroExch.A pp"), Acrobat.CAcroAp p)
gpdoc = CType(CreateObj ect("AcroExch.A VDoc"), Acrobat.CAcroAV Doc)
gpdoc.Open("D:\ main.pdf", "Acrobat")
gp.Show()
Dim ok As Boolean
ok = gp.MenuItemExec ute("ImageConve rsion:Export")
If ok = False Then
MessageBox.Show ("Faile")
End If
End Sub

Thanks,
Prabudass
Oct 24 '08 #1
0 2112

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

Similar topics

0
2932
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 modified by lobsinfile select * from emp_photo" Export works successfully but all images are concatenate in the file image.001
16
11825
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. I can do this individually for each graph but this does not help me as I need both on the same JPEG. I thought I would try an export the form that...
6
6283
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. Problem is that access doesn't export the images when saving to HTML :( The export to PDF solution isn't appropriate in this instance, is their a...
2
2460
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 to datagrid and it is giving an alert that following stylesheets are missing when i export it. can anyone help me about this problem. I have seen...
7
8936
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
919
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 = "select * from project"
7
2575
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 an inventory with images to a gallery, but the images don't export in rtf documents, so I have to do this laborious cut and paste into a Word document,...
1
2602
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. I have a export utility that transfer data into emf file and text file, but i like to export these into powerpoint directly through application.
0
1548
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 any one tell me how to export all contents of(Including Images) gridview into excel.
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7446
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6041
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1058
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.