Re: A very simple way to write/read XML files



Jason wrote:
Hello,

I have an INI file that contains information/settings about my software. I want to save those information to a XML file instead of INI. Can you give me a very simple example or just a component that does this job without complicated things?

PS: I prefer to save this XML first to a Stream because I want to compress/encrypt before saving to the file.

Thanks


I use this: OmniXML (http://www.OmniXML.com)

--
Cheers,

Phillip Flores
"Keep track of those project times...use VeriTime"
http://www.pcfworks.com/veritime/
.



Relevant Pages

  • A very simple way to write/read XML files
    ... I have an INI file that contains information/settings about my software. ... want to save those information to a XML file instead of INI. ... Prev by Date: ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: A very simple way to write/read XML files
    ... Jason wrote: ... > I have an INI file that contains information/settings about my ... I want to save those information to a XML file instead of ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Saving form data
    ... What would be the easiest way to 'serialize' the contained data (list of strings) ... Nothing 'tacky' about using a text file since that's what an ini and xml file is anyway. ... If it's app settings data that's required at startup, and/or edited during runtime, and then updated to file at shutdown, usually an INI file is used as an easy alternative, for example, than say the Registry. ... Xml files are a bit more complex to work with via VB's built-in I/O features, but there's APIs that can make it as simple as working with INI files. ...
    (microsoft.public.vb.general.discussion)
  • ini File?
    ... I am in the midst of rewritting a VB 6 desktop application to vb.net ... store in an ini file for easier future modification. ... someone give me a heads up on how I read and write to an xml file in vb.net? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Determining Documents and Settings path programatically (VB6)
    ... INI file located in App.Path can do the job. ... in INI and then looks for XML file in path indicated in the INI file. ... > The problem, is that I cannot hard-code it, due to the facts that: ... > Is there a way, in VB6, that I can determine the above folder (or at least ...
    (microsoft.public.vb.general.discussion)