Solved

HOW DO I OPEN A PDF FILE IN VB 2008

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

746 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

10 Experts available now in Live!

Get 1:1 Help Now