Тёмный

C# Tutorial - How to Open and Show a PDF file | FoxLearn 

Fox Learn
Подписаться 95 тыс.
Просмотров 41 тыс.
50% 1

How to open, show a PDF file in C# using Adobe Acrobat embed pdf to windows forms. The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language.

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@ziadabuqasem2694
@ziadabuqasem2694 2 года назад
Hello thank you for your help I need to store the pdf in my project and open it from the local folder I created this code when button pressed : private void btnPDF1_Click(object sender, EventArgs e) { string filename = "BloodGasPTProgram.pdf"; System.Diagnostics.Process.Start(filename); } in developer computer I saved the pdf file under this path D:\pdfproject\bin\Debug but after publish the project its not open the pdf where i need to save pdf files under which folder ? or what i need to change in my code ?
@sachinmishra2304
@sachinmishra2304 2 года назад
I have 32 bit Interopacropdf.dll for Adobe but my software now run on 64 bit ,is 64 bit imteropacropdf available?
@jeongminha5315
@jeongminha5315 7 лет назад
Hi. Thanks for good tutorial. How to use it without installing pdf reader? When I distribute software included pdf view function, is it possible user run it without install adobe reader?
@its__usb
@its__usb 6 лет назад
In this PDFViewer, Let Suppose we have a textbox in which we give a word and search it and that search find all the word in that pdf file and highlight all the searched word in that pdf file?
@sachinmishra2304
@sachinmishra2304 2 года назад
After running exe is it work?
@joaocorreiafreitas1735
@joaocorreiafreitas1735 4 года назад
Adobe Acrobat Reader installed as instructed and adobe component added to the project. When attempt to add adobe acrobat reader controller to Winform it shows error: failed to create component 'AxHost'. the error message follows.........etc I am using VS 2017 Community My OS Win 10 Pro 64 bit Please advise. Thanks.
@foxlearn
@foxlearn 4 года назад
Let me check again. thank you !
@dhavallakhani3026
@dhavallakhani3026 6 лет назад
But how to print this file to click button
@i_umerwrites
@i_umerwrites 2 года назад
how can i save pdf file in sql server and then show it in form from Sql . do you have any video like that. urgent
@RadisEastonTKR
@RadisEastonTKR 2 года назад
convert pdf to xml then save it to database as xml datatype , when you get it from database convert xml to pdf
@JuanDevelop
@JuanDevelop 7 лет назад
I have and dataview with file PDF is store in database... how i can open ? var file = datagridview.CurrentRow.Cells["PathFile"].Value.ToString(); axAcroPDF.LoadFile(file); axAcroPDF.src = file; But don't work :(
@foxlearn
@foxlearn 7 лет назад
Hi, You need to create a new form to open pdf file, thanks
@vantienvu5009
@vantienvu5009 3 года назад
Can I use foxit reader to show pdf files?
@foxlearn
@foxlearn 3 года назад
Yes, you can
@alemdervisevic4722
@alemdervisevic4722 4 года назад
how can i rotate pdf, which is a command in C # code ???
@foxlearn
@foxlearn 4 года назад
I think you can
5 лет назад
Thank you. Nobody tells to install Adobe Reader. Finally, I found the problem.
@foxlearn
@foxlearn 5 лет назад
You're welcome. Thank you so much !
@hameedaljlyly1144
@hameedaljlyly1144 4 года назад
Thank you soooo mach
@mr.franciscobrito9706
@mr.franciscobrito9706 5 лет назад
Do you can make one video explain how to save a PDF file in specific folder? PLS I NEED WITH URGENCY
@foxlearn
@foxlearn 5 лет назад
OK. Thank you for your suggestion !
@tanhynh5514
@tanhynh5514 8 лет назад
Great. Thanks
@foxlearn
@foxlearn 8 лет назад
+James Jonathan Thanks
@talhanisar6708
@talhanisar6708 6 лет назад
sir i create open pdf file and it opens as yours but i want to see the no of pages of that file separately in the text box. plz guide me
@brkgkc4953
@brkgkc4953 4 года назад
we are able to choose and see a pdf file on form but how are we going to save it to local folder after we saw it, i couldnt find any info about this :/
@maheshshete9391
@maheshshete9391 4 года назад
not work this code and project run select file not show . Proper solution Adobe Acrobat Reader installed as instructed and adobe component added to the project. When attempt to add adobe acrobat reader controller to Winform it shows error: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B). failed to create component 'AxHost'. the error message follows.........etc I am using VS 2012 and 2019 Community My OS Win 10 Pro 64 bit
@hayatokisara9832
@hayatokisara9832 5 лет назад
Oh thanks so munch bro
@foxlearn
@foxlearn 5 лет назад
You're welcome. thank you !
@bokooo3129
@bokooo3129 4 года назад
dude she was obviously a lady
@muhamadmirza9398
@muhamadmirza9398 6 лет назад
i have try it..but it does't display anything..why?
@madawacko258
@madawacko258 8 лет назад
yay!
@foxlearn
@foxlearn 8 лет назад
+MadawacKO Thank you :D
@samuelr.2657
@samuelr.2657 7 лет назад
What happen if the pdf file have a password?
@foxlearn
@foxlearn 7 лет назад
It's auto show dialog allows you to enter your password, because we embed adobe reader to your application. Thanks
@JokerZipon
@JokerZipon 8 лет назад
Отлично теперь можно PDF Reader не скачивать.
Далее
Jetpack Compose Tutorial: Weather App
48:12
C# Tooltip and Help menu
9:39
Просмотров 6 тыс.
Coding Was HARD Until I Learned These 5 Things...
8:34
Pdf viewer based on pdfium viewer in c# .net
4:25
Просмотров 21 тыс.
c# pdf reader and text to speech
7:41
Просмотров 1,3 тыс.
Export C# DataTable into Pdf using  iTextSharp
9:25
Просмотров 68 тыс.
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 635 тыс.
C# Tutorial - Zip file & Zip folder | FoxLearn
10:23
Просмотров 44 тыс.