M
moondaddy
I have a vb.net 1.1 winforms app that needs to open webpage reports that
contain confidential data. I wanted to use web services where I can encrypt
parameters being passed in and also encrypt the web page content coming
back. Then in the client app I wanted to decrypt the content and render it
in a browser. So far I've been able to generate the content for web page as
a byte() on back end. I can actually load the web page on the backend in a
test by running that project as a .net web app. Here's the code that could
take the byte() and load a web page with it:
Dim report As Byte()
'Fill 'report' with data from rendering a report from SQL Server Reporting
Services
'Now open the Report in an aspx page
HttpContext.Current.Response.BinaryWrite(report)
HttpContext.Current.Response.End()
At this point an aspx page opens with the report in it. All looks good.
However, what I want to do is not execute this last line of code (or 2) and
return 'report' as a return value in a web service back to the winforms app
and then somehow open a browser and populate it with a page made from
'report'.
How can I do this?
Thanks!
contain confidential data. I wanted to use web services where I can encrypt
parameters being passed in and also encrypt the web page content coming
back. Then in the client app I wanted to decrypt the content and render it
in a browser. So far I've been able to generate the content for web page as
a byte() on back end. I can actually load the web page on the backend in a
test by running that project as a .net web app. Here's the code that could
take the byte() and load a web page with it:
Dim report As Byte()
'Fill 'report' with data from rendering a report from SQL Server Reporting
Services
'Now open the Report in an aspx page
HttpContext.Current.Response.BinaryWrite(report)
HttpContext.Current.Response.End()
At this point an aspx page opens with the report in it. All looks good.
However, what I want to do is not execute this last line of code (or 2) and
return 'report' as a return value in a web service back to the winforms app
and then somehow open a browser and populate it with a page made from
'report'.
How can I do this?
Thanks!