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

can't create rbuilder.ini on Vista ulitmate in c:\windows\system32

edited September 2008 in General
I have 10.09 and I can generate the reports. I consistantly get the
EFCreateError exception "can not create file
c:\windows\system32\RBuilder.ini'.

I'm using the ppReport component and calling the PrintReport method.

This just started happening, so there must have been a vista update that
locked this down. I'm running as "ADMINISTRATOR", but I don't run the app
with elevated privledges. If I do, then my program works fine.

Using D6, I'm not sure running elevating privledges is even possible within
the IDE.

Is there some way to redirect where this file is stored?

Thanks
JimG

Comments

  • edited September 2008
    Jim,


    You can use the following code during your application startup to work
    around this bug. Just make sure that you call it BEFORE you do anything in
    RB and you should be good.

    with TppDesigner.Create(nil) do begin
    IniStorageName := ;
    Free;
    end;

    --

    ---------------------------------------
    Terry Swiers
    Millennium Software, LLC
    http://www.1000years.com
    http://www.atrex.com

    Atrex Inventory Control/POS -
    Big business features without spending big business bucks!

    Atrex Electronic Support Options:
    Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
    Email: mailto:support@atrex.com
  • edited September 2008
    What unit is TppDesigner in so that I can include it in my USES clause?

  • edited September 2008
    Jim,


    ppEndUsr is the unit you want to reference.

    --

    ---------------------------------------
    Terry Swiers
    Millennium Software, LLC
    http://www.1000years.com
    http://www.atrex.com

    Atrex Inventory Control/POS -
    Big business features without spending big business bucks!

    Atrex Electronic Support Options:
    Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
    Email: mailto:support@atrex.com
  • edited September 2008
    Thank you Terry. Apparently, that unit isn't included in the RBuilder
    Standard, so I'll have to figure something else out.

  • edited September 2008
    there are some patch files for 10.09--send an email to support.

    Ed Dressel
    Team DM

  • edited September 2008
    There is patch available for RB 10.09, please email
    support@digital-metpahors.com and request the patch.

    With the patch, no RBuilder.ini information is saved for applications that
    do not use TppDesigner.

    When using the TppDesigner in an application, you can use the
    TppDesigner.IniStorageName and IniStorageType to control RBuilder.ini


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

    Best regards,

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