V
VB Programmer
I want my webform to create a file on the users machine. How can I do this?
I tried this but it doesn't work...
Dim strFileName As String = "C:\Temp\MyFile.ABC"
Dim sw As New StreamWriter(strFileName)
sw.WriteLine(lblStartRun.Text)
sw.Close()
Response.Redirect(strFileName)
The ABC file extension is associated with a custom application on the users
local machine.
The error is "This page cannot be displayed..."
Thanks,
Robert
I tried this but it doesn't work...
Dim strFileName As String = "C:\Temp\MyFile.ABC"
Dim sw As New StreamWriter(strFileName)
sw.WriteLine(lblStartRun.Text)
sw.Close()
Response.Redirect(strFileName)
The ABC file extension is associated with a custom application on the users
local machine.
The error is "This page cannot be displayed..."
Thanks,
Robert