Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

HOW DO I OPEN A PDF FILE IN VB 2008

Posted on 2009-05-06
2
Medium Priority
?
425 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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)…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
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…

618 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