troubleshooting Question

IE Automation - PDF interaction problem

Avatar of RafaelAW
RafaelAWFlag for Brazil asked on
Web BrowsersVisual Basic.NETSystem Programming
4 Comments1 Solution642 ViewsLast Modified:
Hi specialists,

I'm developing a simple solution that needs to access some web pages (I'm using Webbrowser/VB.NET). SOme of this resources has PDFs inside IFRAMEs. I need to save this PDFs.

How can my program interact with the PDF Viewer in the Webbrowser ? is there a 'command' to save the PDF file to a specified directory ?

I tried some ways (I think I'm wrong in some of it):
- to search for a method to interact with the IFRAME (I didnt find anything);
- interact with the windows process (AcroBroker) trying to use ShellExecute to interact (I think it is not possible);
- try to find the temporary file downloaded (I'm trying to implement it now).
- I tried to use a webclient to download and save the file directly but the server application has some security implementations that not permit.

Any idea ?

Thanks !
ASKER CERTIFIED SOLUTION
puppydogbuddy

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros