?
Solved

HOW DO I OPEN A PDF FILE IN VB 2008

Posted on 2009-05-06
2
Medium Priority
?
421 Views
Last Modified: 2012-05-06
I want to be able to open a PDF file, in VB 2008 and the file is located at www.ansintech.com
In VB6 it was quite easy:
Set IE = New InternetExplorer
IE.MenuBar = True
IE.Visible = True
IE.ToolBar = True
'IE.MenuBar = False
IE.FullScreen = False
ANSOPEN.WindowState = vbMinimized
IE.Navigate "http://www.ansintech.com/PDF/SOSHELPMENU.html"
Set IE = Nothing
Exit Sub
Now I need to convert the code to run in VB 2008
Can someone help, please.
Thank you
Leonard
0
Comment
Question by:LeonardAnsin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 24318812
If you do

    System.Diagnostics.Process.Start("http://www.ansintech.com/PDF/SOSHELPMENU.html")

your default web browser will open to this page.
0
 

Author Comment

by:LeonardAnsin
ID: 24318854
Thank you
It works just as I wanted.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
*Adobe Acrobat 9 was used for this article. Particular steps may vary depending on software versions. 1. Create a framework of your form in Word, leaving space where you’d ultimately like the Adobe fields to appear.  (Note: I use the blank lines …
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question