joe_pool_is Posted October 20, 2004 Posted October 20, 2004 How do I call a "Save As..." dialog box from my VB.NET "code behind" in my ASP.NET page? I have no idea where to even begin looking. Quote Avoid Sears Home Improvement
joe_pool_is Posted October 20, 2004 Author Posted October 20, 2004 BTW: This is so that the visitor can save files to their individual PCs if they click the "Save File" button. Is this even possible? Quote Avoid Sears Home Improvement
Moderators Robby Posted October 21, 2004 Moderators Posted October 21, 2004 Is the user downloading a file then saving it? If so, they will be prompted by the browser, you don't need to take action. Quote Visit...Bassic Software
joe_pool_is Posted October 21, 2004 Author Posted October 21, 2004 Is the user downloading a file then saving it? If so' date=' they will be prompted by the browser, you don't need to take action.[/quote']Hi Robby. Our client wants a way to download their database, but does not want there to be a direct link to it - otherwise, anyone would be able to directly download the database if they knew the link. If my path were "Z:\users\johnsmith" (the ISP owns this; I don't know the actual path), then my setup would be something like this: path\my-website.com\aspnet-client\dataview.aspx path\database\jsmith.mdb The database is being placed in a separate directory from my-website.com so that no one can link directly to it. I guess you would say that it is "outside" of the my-website.com www-namespace??? So here's my plan: After our clients go through a login screen, they will have the ability to click a button to download the database. (A similar problem that I also have posted is how to find the actual path to this file.) The link will pull the database out of the Database Directory, and allow them to save it to their computer. The problems I am having are: 1) I don't know what the path is or how to get it (assumed to be "Z:\users\johnsmith" in the examples above), and 2) Our client wants the ability to download/upload their database to make offline changes. Maybe it helps to explain everything I am trying to do in this one message, but since there are two separate problems to tackle here, I tried submitting them as two separate issues. Is my logic in trying to solve this correct? This might not even be the best way to go about doing this. If you (or anyone else) has other ways to go about solving this problem, I am eager to hear those ideas! Hope to hear back from someone soon, Joe Quote Avoid Sears Home Improvement
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.