can't create rbuilder.ini on Vista ulitmate in c:\windows\system32
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
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
This discussion has been closed.
Comments
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
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
Standard, so I'll have to figure something else out.
Ed Dressel
Team DM
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