Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

ini file write Error

edited September 2008 in General
Hello all,

I see several posts for this problem. We want to use the ini vs. registry
and the default is ($WINSYS)\RBuilder.ini

What is the ($xxxx) for the instal app dir? Can this, or something similar,
be used to replace the default in the designer?

Thanks, Mark

Comments

  • edited September 2008

    There is not a wild card to specify th app directory, but you can write some
    code to do it. Try something like this


    uses
    ppFileUtils;

    begin

    myDesigner.IniStorageName := TppFileUtils.GetApplicationFilePath +
    '\RBuilder.ini';

    end;


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.