borderAndreaVB free resources for Visual Basic developersborder
borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2014 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Difference between ?)Next Topic (HTML to PDF Howto?) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : How to view PDF File in VB.NET
Poster Message
mei0123456789
Level: Trainee

Registered: 25-12-2008
Posts: 1

icon How to view PDF File in VB.NET

I have a question about viewing PDF FIle in VB.NET.

I have launched acrobat.exe, but I want to disable all the menu function so user can't access some function such as open or save. I only want user to be able to print and view the PDF File.

How should I do it in VB.net?


Thank you.

Yan   

25-12-2008 at 12:33 AM
View Profile Send Email to User Show All Posts | Quote Reply
AlanCF
Level: Graduate


Registered: 12-10-2008
Posts: 9
icon Re: How to view PDF File in VB.NET

Dosn't Adobe Reader have an ActiveX Control you can embed into a form that lets you do that?

30-12-2008 at 08:01 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
siwilliams
Level: Protégé

Registered: 29-06-2010
Posts: 5
icon Re: How to view PDF File in VB.NET

There are many controls that you can put on the form to make it read PDF files. some are free some you have to pay for.
To View PDFs - http://www.devtoolcafe.com/dotnetwinforms/category/3252/PDF_View.aspx

To Manipulate PDFs - http://www.devtoolcafe.com/dotnetwinforms/category/3253/PDF_MAnipulation.aspx

Regards
Simon

28-07-2010 at 10:05 AM
View Profile Send Email to User Show All Posts | Quote Reply
Dave99
Level: Trainee

Registered: 05-11-2010
Posts: 1
icon Re: How to view PDF File in VB.NET

Hi siwilliams. The links you posted have been very helpful to me. I have the same issue with mei0123456789 but now I am able to manipulate it. I can now view PDF file in VB.NET. Thanks a lot.



Shakeology |  Shakeology Review | Shakeology Scam

[Edited by Dave99 on 05-11-2010 at 12:46 PM GMT]

05-11-2010 at 12:42 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
morrismountain
Level: Trainee

Registered: 19-01-2011
Posts: 3
icon Re: How to view PDF File in VB.NET

Well, I hope you were able to get it done. However, incase you weren't able to do it then here is some code for fixing your problem...


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
   Dim Response As DialogResult
      OpenFileDialog1.FileName = ""
      OpenFileDialog1.Filter = "PDF Files(*.pdf)|*.pdf|All Files(*.*)|*.*"
        Response = OpenFileDialog1.ShowDialog()
     If Response <> Windows.Forms.DialogResult.Cancel Then
         If OpenFileDialog1.FileName <> "" Then
                WebBrowser1.Navigate(OpenFileDialog1.FileName)
            End If
        End If
    End Sub

____________________________
web contact management

19-01-2011 at 12:17 AM
View Profile Send Email to User Show All Posts | Quote Reply
iliekater
Level: Wizard

Registered: 04-02-2005
Posts: 148
icon Re: How to view PDF File in VB.NET

quote:
siwilliams wrote:
There are many controls that you can put on the form to make it read PDF files. some are free some you have to pay for.
To View PDFs - http://www.devtoolcafe.com/dotnetwinforms/category/3252/PDF_View.aspx

To Manipulate PDFs - http://www.devtoolcafe.com/dotnetwinforms/category/3253/PDF_MAnipulation.aspx

Regards
Simon

Those links don't work any more . I know there has been 3 years , but are there any similar options today ? Personally I am only interested in viewing a PDF file through a .NET form , not manipulating it further .
29-03-2011 at 01:15 PM
View Profile Send Email to User Show All Posts | Quote Reply
siwilliams
Level: Protégé

Registered: 29-06-2010
Posts: 5
icon Re: How to view PDF File in VB.NET

Sorry guys, I dont know why those links dont work anymore, I think the site has changed the IDs. but anyway, try these:

View: http://www.devtoolcafe.com/dotnetwinforms/category/3792/PDF_View.aspx

Manipulate: http://www.devtoolcafe.com/dotnetwinforms/category/3793/PDF_MAnipulation.aspx

These show items regarding .Net winforms. If you want something for ASP.Net try these:

View http://www.devtoolcafe.com/asp.net/category/3792/PDF_View.aspx

Manipulation: http://www.devtoolcafe.com/asp.net/category/3793/PDF_MAnipulation.aspx

Sorry about that

Simon

06-04-2011 at 02:03 PM
View Profile Send Email to User Show All Posts | Quote Reply
tentionfree
Level: Trainee

Registered: 16-01-2013
Posts: 1
icon Re: How to view PDF File in VB.NET

Dosn't Adobe Reader have an ActiveX Control you can embed into a form that lets you do that?


____________________________
350-001 practice questions
[url=http://www.test-
king.com/exams/350-001.htm]350-
001 practice questions
70-640 practice questions
[url=http://www.test-
king.com/exams/70-640.htm]70-
640 practice questions
vcp-410 practice questions
[url=http://www.test-
king.com/exams/VCP-410.htm]vcp-
410 practice questions
642-813 practice questions
[url=http://www.test-
king.com/exams/642-813.htm]642-
813 practice questions
comptia exam questions from
testking [url=http://www.test-
king.com/]comptia exam questions
from testking

16-01-2013 at 11:47 AM
View Profile Send Email to User Show All Posts | Quote Reply
dannycat
Level: Protégé

Registered: 22-05-2013
Posts: 8
icon Re: How to view PDF File in VB.NET

thank you guys for sharing!



[Edited by dannycat on 07-08-2013 at 12:19 AM GMT]

22-05-2013 at 06:52 AM
View Profile Send Email to User Show All Posts | Quote Reply
dannycat
Level: Protégé

Registered: 22-05-2013
Posts: 8
icon Re: How to view PDF File in VB.NET

I do this almost daily. I use a PDF reader driver found on the internet . Install it and it becomes a selectable reader option.Then you can view PDFs in any program at all, including Adobe Acrobat . Just open a PDF, select view, then you can read all your pdf files. if you haven't found a good choice  , you can have a try. best wishes.

[Edited by dannycat on 07-08-2013 at 12:20 AM GMT]

07-08-2013 at 07:19 AM
View Profile Send Email to User Show All Posts | Quote Reply
abbymm
Level: Protégé

Registered: 15-04-2013
Posts: 8
icon Re: How to view PDF File in VB.NET

With a PDF viewer, you are not only able to view PDF documents, but also able to create, edit, annotate and convert PDF documents. Here is a VB.NET tutorial for creating a PDF online viewer.

26-09-2013 at 03:18 AM
View Profile Send Email to User Show All Posts | Quote Reply
rickycox1989
Level: Big Cheese

Registered: 24-04-2013
Posts: 19
icon Re: How to view PDF File in VB.NET

If you just want those two function available for users, you have to use some editable PDF reader viewer SDK. As in general, a professional PDF document reader may have rich document editing functions. I suggest you to have a search on codeproject.com where you may find some source free code.

15-10-2013 at 03:17 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB.Net : How to view PDF File in VB.NET
Previous Topic (Difference between ?)Next Topic (HTML to PDF Howto?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
borderAndreaVB free resources for Visual Basic developersborder
borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2014 Andrea Tincaniborder