Solved

HOW DO I OPEN A PDF FILE IN VB 2008

Posted on 2009-05-06
2
386 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
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The ability to edit PDF documents can be useful, however it may not be a straight forward process. Many non-technical people don't realise that a PDF document is basically an image rather than a text file, even if it contains nothing but text. If…
Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe A recent question here at Experts Exchange piqued my interest, so I decided to provide a thorough solution and publ…
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now