Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart27-Jul-04 3:39
protectorHeath Stewart27-Jul-04 3:39 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 17:22
BeiJing200827-Jul-04 17:22 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart27-Jul-04 17:57
protectorHeath Stewart27-Jul-04 17:57 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 19:26
BeiJing200827-Jul-04 19:26 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 19:42
BeiJing200827-Jul-04 19:42 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart28-Jul-04 3:53
protectorHeath Stewart28-Jul-04 3:53 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
BeiJing200827-Jul-04 20:31
BeiJing200827-Jul-04 20:31 
GeneralRe: How to load file to webbrowser control from richtextbox ? Pin
Heath Stewart28-Jul-04 4:00
protectorHeath Stewart28-Jul-04 4:00 
As I mentioned before, you'll need to implement UCOMIStream in your own Stream derivative (or, really, any class). That class should take a reference to another Stream and basically wrap the methods. It's really not too difficult, even though the way in which data is read and written is a little different and because UCOMIStream has some methods that won't easily map (like Stat), but you could probably just ignore any specific implementation for those particular methods (I did some time back and it worked fine).

Of course, if you encapsulate a Stream derivative like FileStream, you could encapsulate every method of UCOMIStream, but that is pretty limiting. You could always do some type checking on the Stream that your implementation references, but if you're doing this for a specific purpose and don't plan on using it for anything else in your project, I wouldn't bother.

 

Microsoft MVP, Visual C#
My Articles
GeneralSendInput Citrix Alt and Ctrl Keys Pin
Gregory Webb26-Jul-04 4:26
Gregory Webb26-Jul-04 4:26 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
Heath Stewart26-Jul-04 11:26
protectorHeath Stewart26-Jul-04 11:26 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
GTWebb27-Jul-04 2:23
GTWebb27-Jul-04 2:23 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
Heath Stewart27-Jul-04 4:03
protectorHeath Stewart27-Jul-04 4:03 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
GTWebb28-Jul-04 4:25
GTWebb28-Jul-04 4:25 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
Heath Stewart28-Jul-04 4:43
protectorHeath Stewart28-Jul-04 4:43 
GeneralRe: SendInput Citrix Alt and Ctrl Keys Pin
GTWebb28-Jul-04 13:18
GTWebb28-Jul-04 13:18 
GeneralFull Screen Notification. Pin
LokiSD26-Jul-04 2:22
LokiSD26-Jul-04 2:22 
GeneralRe: Full Screen Notification. Pin
Heath Stewart26-Jul-04 10:39
protectorHeath Stewart26-Jul-04 10:39 
Generaladd item to Outlooks contactmenu Pin
Stephan Wright26-Jul-04 1:41
Stephan Wright26-Jul-04 1:41 
GeneralRe: add item to Outlooks contactmenu Pin
Heath Stewart26-Jul-04 10:54
protectorHeath Stewart26-Jul-04 10:54 
GeneralRe: add item to Outlooks contactmenu Pin
Stephan Wright26-Jul-04 12:45
Stephan Wright26-Jul-04 12:45 
GeneralRe: add item to Outlooks contactmenu Pin
Heath Stewart26-Jul-04 13:38
protectorHeath Stewart26-Jul-04 13:38 
GeneralRe: add item to Outlooks contactmenu Pin
Heath Stewart26-Jul-04 19:01
protectorHeath Stewart26-Jul-04 19:01 
GeneralCustom ListView - XP theme Pin
Andy H26-Jul-04 1:06
Andy H26-Jul-04 1:06 
GeneralRe: Custom ListView - XP theme Pin
Heath Stewart26-Jul-04 11:21
protectorHeath Stewart26-Jul-04 11:21 
GeneralCustom ListView - XP theme Pin
Andy H26-Jul-04 1:06
Andy H26-Jul-04 1:06 

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.