How can I have *.Pdf files in C# Project ?
-
I want to see ( view ) some files with different formats like "PDF" or "DOC" or "HTML" , ... how can I do it? I`m not a professional programmer so help me in a simple way! Please!!! Also I don`t know how to use a reference or Dll in C# Project I need your help immediately
Hello Friends
Laji59 wrote:
I need your help immediately
No can do until you rephrase your question in a manner that is more understandable.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Laji59 wrote:
I need your help immediately
No can do until you rephrase your question in a manner that is more understandable.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
OK I ask my question in another way : I have a listbox that there are some names of different EBook in it. these EBooks have different format like "PDF" , "DOC" , "HTML" , ... Now I want to bring the text of these EBooks in my C# Project for example I think I need a PDF viewer or doc viewer; but I don`t know how to use it thanks in advaced
Hello Friends
-
OK I ask my question in another way : I have a listbox that there are some names of different EBook in it. these EBooks have different format like "PDF" , "DOC" , "HTML" , ... Now I want to bring the text of these EBooks in my C# Project for example I think I need a PDF viewer or doc viewer; but I don`t know how to use it thanks in advaced
Hello Friends
Makes sense now. Very tall order and cannot really be done in a forum post. In short, you'll need code that handles rendering the various formats.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Makes sense now. Very tall order and cannot really be done in a forum post. In short, you'll need code that handles rendering the various formats.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
I want to see ( view ) some files with different formats like "PDF" or "DOC" or "HTML" , ... how can I do it? I`m not a professional programmer so help me in a simple way! Please!!! Also I don`t know how to use a reference or Dll in C# Project I need your help immediately
Hello Friends
You can assume that a client machine have installed Acrobat Reader or similar software and use
System.Diagnostics.Process.Start(string fileName)
method to launch a PDF file. If you don't want to make such assumptions (and you should not), you can attach to the installator a light-weight PDF viewer like a Foxit Reader[^] (the best PDF viewer I've ever seen). On this[^] page you can also get a Foxit SDK which allows you to render pdfs into bitmaps and then use them in your app. Hope it helps.Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
-
You can assume that a client machine have installed Acrobat Reader or similar software and use
System.Diagnostics.Process.Start(string fileName)
method to launch a PDF file. If you don't want to make such assumptions (and you should not), you can attach to the installator a light-weight PDF viewer like a Foxit Reader[^] (the best PDF viewer I've ever seen). On this[^] page you can also get a Foxit SDK which allows you to render pdfs into bitmaps and then use them in your app. Hope it helps.Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
-
Laji59 wrote:
help me by giving a code that handles only PDF format
No. I don't give out code, just suggestions on what to do.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
I want to see ( view ) some files with different formats like "PDF" or "DOC" or "HTML" , ... how can I do it? I`m not a professional programmer so help me in a simple way! Please!!! Also I don`t know how to use a reference or Dll in C# Project I need your help immediately
Hello Friends
Try search about, using stream reader or writer in using system.data.io, you find will something. :omg:
-
Try search about, using stream reader or writer in using system.data.io, you find will something. :omg:
thanks a lot, nelsonpaixao that was a very good way for working with text file and reading & writing them But as I siad I want to bring the content of Pdf file or Doc File to for example richTextFile I can`t use StreamReader class for working with PDF File & Doc File who can help me? Please!!! In fact I want to open PDF File in my application
Hello Friends
modified on Monday, August 4, 2008 6:06 AM
-
Laji59 wrote:
I need your help immediately
No can do until you rephrase your question in a manner that is more understandable.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
If you can assume that the Adobe Reader is installed on the target machine, you could use a webbrowser-control to display the pdf, if I'm not mistaken. Michael.
-
If you can assume that the Adobe Reader is installed on the target machine, you could use a webbrowser-control to display the pdf, if I'm not mistaken. Michael.
It sounds like the OP wants to extract from PDF, and DOC files.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
thanks a lot, nelsonpaixao that was a very good way for working with text file and reading & writing them But as I siad I want to bring the content of Pdf file or Doc File to for example richTextFile I can`t use StreamReader class for working with PDF File & Doc File who can help me? Please!!! In fact I want to open PDF File in my application
Hello Friends
modified on Monday, August 4, 2008 6:06 AM
Laji59 wrote:
I want to open PDF File in my application
You'll need to look at third party controls, perhaps.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Thanks a lot, gajatko but I want to bring the content of Pdf File or Doc File to my Windows Control Like Textbox or other controls how can I do it? thanks away
Hello Friends
I wrote:
On this[^] page you can also get a Foxit SDK which allows you to render pdfs into bitmaps and then use them in your app. Hope it helps.
Bitmaps can be displayed in a Form with PictureBox control
Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.