Rudebox.co.nr How To Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rudebox.co.nr How To Forums

Rudebox How To Forums - Ask Anything, View How To's
 
HomeSearchLatest imagesRegisterLog in

 

 How to show a save as in ASP .net

Go down 
AuthorMessage
Admin
Admin
Admin


Number of posts : 216
Registration date : 2007-01-01

How to show a save as in ASP .net Empty
PostSubject: How to show a save as in ASP .net   How to show a save as in ASP .net Icon_minitimeMon Jan 01, 2007 4:27 pm

How to show a save as in ASP .net
How to show a save as in ASP .net , How to show a SaveAs in ASP .net , How to show a Save Dialog Box in ASP .net , How to show a SaveAs Dialog Box in ASP .net , How to show a Save As Dialog Box in ASP .net.

'ad.xml is a virtual path, on server, or directory that should exist
Dim filePath As String = Server.MapPath("ad.xml")
Dim targetFile As System.IO.FileInfo = New System.IO.FileInfo(filePath)



Response.Clear()
Response.AddHeader("Content-Disposition", "attachment; filename=" + targetFile.Name)
Response.AddHeader("Content-Length", targetFile.Length.ToString)
Response.ContentType = "application/octet-stream"
Response.WriteFile(targetFile.FullName)
Back to top Go down
https://rudebox.editboard.com
 
How to show a save as in ASP .net
Back to top 
Page 1 of 1
 Similar topics
-
» Save and Synchroize Browser bookmarks (Ie,Firefox etc)
» ASP.net : how to save a file in memory on user computer
» save any audio you hear on your computer straight to mp3 or

Permissions in this forum:You cannot reply to topics in this forum
Rudebox.co.nr How To Forums :: How To - Myspace / Website /Blog Utilities :: ASP .net-
Jump to: