Click here to Skip to main content
15,881,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: What's the difference between Binary and Text file? Pin
Guffa20-Jan-06 13:01
Guffa20-Jan-06 13:01 
GeneralRe: What's the difference between Binary and Text file? Pin
Heath Stewart20-Jan-06 15:18
protectorHeath Stewart20-Jan-06 15:18 
GeneralRe: What's the difference between Binary and Text file? Pin
pmasknguyen21-Jan-06 6:29
pmasknguyen21-Jan-06 6:29 
GeneralRe: What's the difference between Binary and Text file? Pin
Dave Kreskowiak21-Jan-06 8:46
mveDave Kreskowiak21-Jan-06 8:46 
Questiondisplay a file to the browser using stream Pin
CodyGen20-Jan-06 11:27
CodyGen20-Jan-06 11:27 
AnswerRe: display a file to the browser using stream Pin
Heath Stewart20-Jan-06 12:12
protectorHeath Stewart20-Jan-06 12:12 
GeneralRe: display a file to the browser using stream Pin
CodyGen20-Jan-06 12:49
CodyGen20-Jan-06 12:49 
GeneralRe: display a file to the browser using stream Pin
Heath Stewart20-Jan-06 15:12
protectorHeath Stewart20-Jan-06 15:12 
You're not out of luck - there's just not a simple solution. The WebBrowser control is an ActiveX container and hosts things like MSHTML (the rendering engine for IE), Word, Acrobat (Reader), etc. It involves getting RCWs (runtime callable wrappers - a managed interface wrapping a native COM interface) and loading an IPersistFile interface (or a small handful of other, similar interfaces). Of course, you could always just navigate to the file and IE (a la the WebBrowser control) will take care of the rest.

For the former method, search for "WebBrowser.DocumentStream" and you'll find some helpful tips.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
QuestionBindingNavigator's AddNew vs. AutoIncrement DB fields Pin
mrlucmorin20-Jan-06 9:18
mrlucmorin20-Jan-06 9:18 
AnswerRe: BindingNavigator's AddNew vs. AutoIncrement DB fields Pin
Guffa20-Jan-06 9:57
Guffa20-Jan-06 9:57 
GeneralRe: BindingNavigator's AddNew vs. AutoIncrement DB fields Pin
mrlucmorin20-Jan-06 10:45
mrlucmorin20-Jan-06 10:45 
GeneralRe: BindingNavigator's AddNew vs. AutoIncrement DB fields Pin
Dave Kreskowiak20-Jan-06 11:28
mveDave Kreskowiak20-Jan-06 11:28 
QuestionHow do I create dynamic content (has to be easy!) Pin
Roger Jane20-Jan-06 8:33
Roger Jane20-Jan-06 8:33 
AnswerRe: How do I create dynamic content (has to be easy!) Pin
Guffa20-Jan-06 9:07
Guffa20-Jan-06 9:07 
GeneralRe: How do I create dynamic content (has to be easy!) Pin
Roger Jane20-Jan-06 22:39
Roger Jane20-Jan-06 22:39 
QuestionHow to copy a picture??? Pin
CrazyDragon638420-Jan-06 8:26
CrazyDragon638420-Jan-06 8:26 
AnswerRe: How to copy a picture??? Pin
Wjousts20-Jan-06 9:26
Wjousts20-Jan-06 9:26 
AnswerRe: How to copy a picture??? Pin
CodyGen20-Jan-06 9:44
CodyGen20-Jan-06 9:44 
AnswerRe: How to copy a picture??? Pin
CrazyDragon638420-Jan-06 23:23
CrazyDragon638420-Jan-06 23:23 
GeneralRe: How to copy a picture??? Pin
CodyGen21-Jan-06 3:45
CodyGen21-Jan-06 3:45 
QuestionDataGridViewColumn DefaultCellStyle help Pin
Kasdoffe20-Jan-06 7:59
Kasdoffe20-Jan-06 7:59 
QuestionCalling Visual Basic .net class object in C# Pin
idreesbadshah20-Jan-06 7:33
idreesbadshah20-Jan-06 7:33 
AnswerRe: Calling Visual Basic .net class object in C# Pin
Dave Kreskowiak20-Jan-06 7:39
mveDave Kreskowiak20-Jan-06 7:39 
Questionwhy can't i start/stop separate threads inside of same block? Pin
WetRivrRat20-Jan-06 5:47
WetRivrRat20-Jan-06 5:47 
AnswerRe: why can't i start/stop separate threads inside of same block? Pin
Le centriste20-Jan-06 6:03
Le centriste20-Jan-06 6:03 

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.