Hi moondaddy,
Thanks for your post!!
Based on my understanding, you have a C/S structure application, which in
server side, a WebService returns a Byte array, which contains the html
code of a web page. In client side winform app, you want to find a way to
dynamically show the byte array html code in a IE web page. If I
misunderstand you, please feel free to tell me. Thanks
For this, I think in client winform application, we can first get the byte
array, then write the html code in a temp .html file. To get this done, we
can leverage BinaryWriter class to wrap a FileStream(which wraps the temp
html file), then write the byte array into that BinarayWriter, for more
information, please refer to:
"Reading and Writing to a Newly Created Data File"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconreadingwritingtonewlycreateddatafile.asp
At last, we can use Process.Start method to navigate the temp html file.
This way has been provided by "Herfried K. Wagner [MVP]" in your another
issue "How to open browser and point to URL from winforms app", I suggest
you refer other post. Thanks
====================================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
moondaddy - 30 Apr 2005 06:53 GMT
Thanks! That all worked. However, now there's another problem. the page
had HTML, but no images and the path for the images in the webpage was
completely incorrect even if there were images. I think this problem will
be better addressed in the SQL Server Reporting Services group because the
byte array was generated from a SSRS report and code used in working with
SSRS reports.
Thanks again for the help!

Signature
moondaddy@nospam.nospam
> Hi moondaddy,
>
[quoted text clipped - 29 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
"Jeffrey Tan[MSFT]" - 30 Apr 2005 07:40 GMT
Hi moondaddy,
Thanks for your feedback!
Yes, for image, it requests some work for us to store it and link it in
html code correctly. Currently, I also suggest you use SQL Server Reporting
Services to get this done. Based on my knowledge to SSRS, it should meet
your need.(Although I am not familiar with SSRS :-))
Anyway, if you need further help, please feel free to tell me. Thanks
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.