PC Review


Reply
Thread Tools Rate Thread

Console Application Download issue.

 
 
Peter
Guest
Posts: n/a
 
      21st Oct 2004
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?
 
Reply With Quote
 
 
 
 
Gary Dunne
Guest
Posts: n/a
 
      22nd Oct 2004
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.


"Peter" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?



 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      22nd Oct 2004
it is on an intranet. How would I printout to screen from the activex
app? Do you have a link to an example.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Console application, command line parameter issue Ramon Gene Microsoft Dot NET 2 6th Dec 2007 05:45 PM
Console Application Threading Issue? Spam Catcher Microsoft VB .NET 0 31st May 2007 12:33 AM
MC++ and C# Console Application Memory issue? Maxwell Microsoft VC .NET 0 30th Nov 2005 07:30 PM
Schedule Console Application - Security Issue =?Utf-8?B?SmltIEhlYXZleQ==?= Microsoft C# .NET 3 26th Jul 2005 08:57 AM
How to set a fixed line in a console application liek UNIX console AA Microsoft C# .NET 1 6th Dec 2003 02:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:54 AM.