Solved

HOW DO I OPEN A PDF FILE IN VB 2008

Posted on 2009-05-06
2
396 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

777 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