I have a text string containing XML data that I'd like to save on the client
machine, in local text file.
I need to prompt the user for the location of the file, so that the user may
save different XML strings in different files.
How do I provide a file-save dialog box, similar to the one a user is
getting when downloading a file?
Please keep in mind that I'm talking about data that is located at the
client, this data is never at the server. 4 1122
The browser doesn't have permission to write files (other than to its cache
and cookies). So, you would need a client-side app hosted IN the borwser,
Java applet, or ActiveX Control, to do this.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
"James" <ne**@att.com> wrote in message
news:07**********************************@microsof t.com... I have a text string containing XML data that I'd like to save on the
client machine, in local text file. I need to prompt the user for the location of the file, so that the user
may save different XML strings in different files. How do I provide a file-save dialog box, similar to the one a user is getting when downloading a file? Please keep in mind that I'm talking about data that is located at the client, this data is never at the server.
Even if I'm a trusted site??
This is an Intranet application.
"Kevin Spencer" wrote: The browser doesn't have permission to write files (other than to its cache and cookies). So, you would need a client-side app hosted IN the borwser, Java applet, or ActiveX Control, to do this.
-- HTH, Kevin Spencer ..Net Developer Microsoft MVP Neither a follower nor a lender be.
"James" <ne**@att.com> wrote in message news:07**********************************@microsof t.com... I have a text string containing XML data that I'd like to save on the client machine, in local text file. I need to prompt the user for the location of the file, so that the user may save different XML strings in different files. How do I provide a file-save dialog box, similar to the one a user is getting when downloading a file? Please keep in mind that I'm talking about data that is located at the client, this data is never at the server.
Yes, and if it's people have sp2 installed expect an even hard time. It
would be much much easier to do this as a windows forms based app.
Hi James,
I think Kevin's suggestion is reasonable. The Browser based web application
has very restricted permissions on the client machine which can't finish
the task you required. As for the tasks you mentioned, a rich client app is
not suitable. Thanks.
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Vikram |
last post by:
Hi,
Given below is my task.
An user can open the xls file from my website (loaded on the top frame).
After filling the Excel, he can click a send button at the bottom frame. By
clicking the...
|
by: harry |
last post by:
Hi,
I have a program that runs on multiple client pc's. Occasionally one or more
of those pc's use VPN to connect to another corporate network. When using
VPN they need to set proxy server in...
|
by: MrNobody |
last post by:
I was a Java developer so I'm used to using property files as a means to keep
configuration settings for my apps. I'm wondering what options are there with
..NET?
Some settings I want to include...
|
by: Kourosh |
last post by:
I have a log file that is viewed on the local machine. There are some
settings on the html page that allow the user to specify how the file
is viewed. I'm just wnodering what are my options in...
|
by: Pedro Leite |
last post by:
Good Afternoon.
the code below is properly retreiving binary data from a database and saving
it. but instead of saving at client machine is saving at the server machine.
what is wrong with my...
|
by: harriegovin |
last post by:
Hi,
Here is the scenario.
I have a web application written in vb.net. One of the functionalities
of the application is to save the recordset in an xml format on to the
client machine. The xml...
|
by: randy1200 |
last post by:
I have a DLL Winform project. I've double-clicked Settings.settings under
Properties, and create the following application setting:
Name: MySetting1, Type: string, Scope: Application, Value:...
|
by: Bill Nguyen |
last post by:
How can I detect timezone and whether daylight saving is applied on a client
PC/server using VB.NET?
Thanks
Bill
|
by: Tsahi Asher |
last post by:
hi,
i was trying to save the window size of my app using the generated
Settings class of Visual C# 2005 Express. for some reason, the stored
size was bigger from the actual size, so each time i...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |