Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
AnswerRe: creating and handling serial numbers Pin
CodyGen21-Jan-06 3:52
CodyGen21-Jan-06 3:52 
AnswerRe: creating and handling serial numbers Pin
shabonaa22-Jan-06 2:08
shabonaa22-Jan-06 2:08 
QuestionDatabase Provider error,Plz Help Pin
rudra08321-Jan-06 1:22
rudra08321-Jan-06 1:22 
QuestionHow can i check if the application run ? Pin
Gamil Mohamad21-Jan-06 1:05
Gamil Mohamad21-Jan-06 1:05 
AnswerRe: How can i check if the application run ? Pin
AB777121-Jan-06 2:34
AB777121-Jan-06 2:34 
GeneralRe: How can i check if the application run ? Pin
Gamil Mohamad21-Jan-06 4:43
Gamil Mohamad21-Jan-06 4:43 
QuestionInclude references Pin
tray_gator21-Jan-06 0:12
tray_gator21-Jan-06 0:12 
AnswerRe: Include references Pin
S. Senthil Kumar21-Jan-06 5:06
S. Senthil Kumar21-Jan-06 5:06 
QuestionInstall windows service Pin
binglin20-Jan-06 23:15
binglin20-Jan-06 23:15 
AnswerRe: Install windows service Pin
Dave Kreskowiak21-Jan-06 11:43
mveDave Kreskowiak21-Jan-06 11:43 
QuestionError during BASS_Init (Bass.Net.dll) Pin
Divyang Mithaiwala20-Jan-06 21:57
Divyang Mithaiwala20-Jan-06 21:57 
AnswerRe: Error during BASS_Init (Bass.Net.dll) Pin
Dave Kreskowiak21-Jan-06 4:39
mveDave Kreskowiak21-Jan-06 4:39 
QuestionHow to down size video file Pin
Teerapong Boonchot20-Jan-06 21:51
Teerapong Boonchot20-Jan-06 21:51 
QuestionHow to reduce bitrate for music Pin
Teerapong Boonchot20-Jan-06 21:42
Teerapong Boonchot20-Jan-06 21:42 
AnswerRe: How to reduce bitrate for music Pin
Dave Kreskowiak21-Jan-06 11:35
mveDave Kreskowiak21-Jan-06 11:35 
QuestionWay to tell if computer is locked? Pin
jgallen2320-Jan-06 15:27
jgallen2320-Jan-06 15:27 
QuestionWhat's the difference between Binary and Text file? Pin
pmasknguyen20-Jan-06 12:54
pmasknguyen20-Jan-06 12:54 
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]

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.