Click here to Skip to main content
15,883,705 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 1:51
sitebuilderLuc Pattyn10-Jun-10 1:51 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Ahmad Safwat10-Jun-10 1:56
Ahmad Safwat10-Jun-10 1:56 
AnswerRe: Can I pass binary data of a file to WebBrowser control? Pin
Giorgi Dalakishvili10-Jun-10 2:14
mentorGiorgi Dalakishvili10-Jun-10 2:14 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Ahmad Safwat10-Jun-10 2:45
Ahmad Safwat10-Jun-10 2:45 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 3:44
sitebuilderLuc Pattyn10-Jun-10 3:44 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Ahmad Safwat10-Jun-10 4:14
Ahmad Safwat10-Jun-10 4:14 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 4:28
sitebuilderLuc Pattyn10-Jun-10 4:28 
GeneralRe: Can I pass binary data of a file to WebBrowser control? [modified] Pin
Hristo-Bojilov10-Jun-10 6:23
Hristo-Bojilov10-Jun-10 6:23 
Luc Pattyn wrote:
you could always fill a memorystream with legal HTML code


Are you really certain for that?In that case if you want to diplay pdf file you need web server to handle requests to the database.WebBrowser control has a property DocumentType , which contains mime type of the document.And if we need pdf we could just set it to "application/pdf" and IE will understand that this is pdf file, not html page.

[Edit]It's read only unfortunately.After after googling I've found that.[/EDIT]
Life is a stage and we are all actors!
modified on Thursday, June 10, 2010 12:52 PM

GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 7:02
sitebuilderLuc Pattyn10-Jun-10 7:02 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Hristo-Bojilov10-Jun-10 7:30
Hristo-Bojilov10-Jun-10 7:30 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 7:40
sitebuilderLuc Pattyn10-Jun-10 7:40 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 8:18
sitebuilderLuc Pattyn10-Jun-10 8:18 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Hristo-Bojilov10-Jun-10 10:51
Hristo-Bojilov10-Jun-10 10:51 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 10:55
sitebuilderLuc Pattyn10-Jun-10 10:55 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Hristo-Bojilov10-Jun-10 11:11
Hristo-Bojilov10-Jun-10 11:11 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 14:30
sitebuilderLuc Pattyn10-Jun-10 14:30 
AnswerRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 8:19
sitebuilderLuc Pattyn10-Jun-10 8:19 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
AspDotNetDev10-Jun-10 13:52
protectorAspDotNetDev10-Jun-10 13:52 
GeneralRe: Can I pass binary data of a file to WebBrowser control? Pin
Luc Pattyn10-Jun-10 14:46
sitebuilderLuc Pattyn10-Jun-10 14:46 
QuestionProblems setting vertical scrollbar value in a datagrid (old one, not the better DataGridView). Pin
NitzanJ9-Jun-10 23:56
NitzanJ9-Jun-10 23:56 
QuestionHOW TO Install SQLSERVER32 at installation Pin
MayukhSen9-Jun-10 23:54
MayukhSen9-Jun-10 23:54 
QuestionC# Polymorphic object comparison Pin
Benny_Lava9-Jun-10 23:37
Benny_Lava9-Jun-10 23:37 
AnswerRe: C# Polymorphic object comparison Pin
Łukasz Nowakowski9-Jun-10 23:41
Łukasz Nowakowski9-Jun-10 23:41 
GeneralRe: C# Polymorphic object comparison Pin
Benny_Lava10-Jun-10 0:55
Benny_Lava10-Jun-10 0:55 
AnswerRe: C# Polymorphic object comparison Pin
OriginalGriff9-Jun-10 23:47
mveOriginalGriff9-Jun-10 23:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.