Console Application Download issue.

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

I've created a console application in VB.net that preforms some
complex math equations. This console application is imbedded in a asp
page. I want to be able to export the results of these equations to
the user. (comma deliminated)

To keep this simple.

Pretend I have this:

Imports forms.... in console app

Dim sw as new streamwriter("c:\Test.txt")
sw.writeline("Test Text!")
sw.close

How do I save this file from the embeded web app to the clients
machine?
 
Assuming that its an internet app (as opposed to an intranet app) then
forget it. No self respecting user would have their browser configured in
such a way as to allow you to write ad hoc files to their machine !!
One way to deal with it would be to present the file contents on the screen
and invite the user to download the file manually.
 
it is on an intranet. How would I printout to screen from the activex
app? Do you have a link to an example.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top