Re: Need help with WebBrower Control
From: Wardeaux (wardeaux_at_bellsouth.net)
Date: 07/07/04
- Next message: Robin: "positioning controls in code"
- Previous message: Wardeaux: "Re: DateTimePicker equivalent web control"
- In reply to: Roy: "Need help with WebBrower Control"
- Next in thread: Roy: "Re: Need help with WebBrower Control"
- Reply: Roy: "Re: Need help with WebBrower Control"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Jul 2004 12:45:09 -0400
Roy,
I've not streamed from a string, I've only streamed PDF using
Response.BinaryWrite(mybyte()) but I believe the key is to set the content
type using Response.ContentType = "application/pdf" for PDF file and
Response.ContentType = "application/doc" for the Word file. I believe that
will launch the desired app/plugin.
Hope this helps!
wardeaux
"Roy" <Roy@discussions.microsoft.com> wrote in message
news:F074F700-9C59-425C-B752-1CDC8D9C3DAA@microsoft.com...
> I have vb.net application that needs to read a string object whose data is
formated into PDF, Word and HTML. I've been successful reading the HTML
stream into the WebBrowser control.
>
> How are PDF and Word files read (or streamed) into the WebBrowser control
or, better yet, how do I cause the WebBrowser control to launch the correct
plugin?
>
> Note: There are no files to open or navigate to. The only input is from a
string object.
>
> Thanks!
>
- Next message: Robin: "positioning controls in code"
- Previous message: Wardeaux: "Re: DateTimePicker equivalent web control"
- In reply to: Roy: "Need help with WebBrower Control"
- Next in thread: Roy: "Re: Need help with WebBrower Control"
- Reply: Roy: "Re: Need help with WebBrower Control"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|