Wait... are you running this from ASP.NET or a WinForms application? I don't think you understand ASP.NET/Streams.
For example, you won't be able to write an aspx stream out because it has nothing to process against (the ASP.NET ISAPI isn't invoked, because your not on a server, HTML is client side rendered so that will work fine.. but not with streams)
But you can't do this client side. If your running this within ASP.NET you could use the Response.Write (which IS a stream to the browser from the server). but that again, would be diffucult to perform with an aspx page.
HTH,
CJ
I am using an embedded resource(".aspx or .HTM") which is then extracted from the for the Assembly like I have shown below.
stream = assem.GetManifestResourceStream(resourceName)
This stream I want to output to the browser in a open new window call generated from the code behind.
Any help would be greatly appreciated.