Saving & Restoring User Info on Forms

Discussion in 'AutoCAD' started by Oberer, Jan 5, 2005.

  1. Just for my information what is wrong with storing info in the registry. My experience is that IT departments prevent registry editing to stop people stuffing things up not to prevent programmers writing to it.
    Regards - Nathan
     
    Nathan Taylor, Jan 10, 2005
    #21
  2. Oberer

    Oberer Guest

    Ed- as a creature of old habit, i'm more comfortable and familiar with tables. I suppose I also rely on the db to do things our native methods don't (like sort layer names), so I typically use temp tables for this.
    To be a bit more clear, what i'm trying to say is that since I already write to a db for forms, I may as well stay there for saving data...


    Nathan wrote:
    Just for my information what is wrong with storing info in the registry. My experience is that IT departments prevent registry editing to stop people stuffing things up not to prevent programmers writing to it.
    Regards - Nathan
     
    Oberer, Jan 10, 2005
    #22
  3. Hi Nathan,

    Following comments made by Ed and Tony, I have rung around a few of the IT
    Managers with whom I'm on friendly terms and asked for opinions.

    They all strongly support the general concept that normal users cannot write
    to the HKLM part of the registry.

    Installers can and hence I am going to revise my software such that the
    Installer can nominate a data storage location where users have read/write
    access and I will write the location to the HKLM so that the software can
    find it. This has a further functionality increase as the data location
    nominated can be on a data server, and hence becomes available to the whole
    office.

    Back to Oberon's original query: I believe he has reached the right
    conclusion in writing the data to a file format with which he is familiar.

    With my code it will be easiest to use CSV files, but I'm wondering if,
    despite the learning exercise, I should use XML for future compatibility
    with .NET

    --


    Laurie Comerford
    CADApps
    www.cadapps.com.au


    My experience is that IT departments prevent registry editing to stop people
    stuffing things up not to prevent programmers writing to it.
     
    Laurie Comerford, Jan 10, 2005
    #23
  4. Oberer

    Oberer Guest

    Thanks again for the input. This thread seems like it helped a few people out :)
     
    Oberer, Jan 11, 2005
    #24
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.