Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to set a environnement variable just for one application

0 views
Skip to first unread message

ma yunzhao

unread,
Apr 22, 2009, 5:00:23 AM4/22/09
to
hi all
i have a question
i want to know if i can set a environment value like

Cache = %USERPROFILE%\Local Settings\Temporary Internet Files

in the registry for just one application in Delphi

the case is that i need a TWebBrowser control in my application, this
control need to be use in mode no connection, so i make a directory
for this control to save some file, but i have to change this 'Cache'
key to make the application use this special directory, and that
works, but if the application was not exit normally, the environment
value won't be reset correctly

i have read some articles like 'customization of web browser control',
but they do just change the graphic of the web control
so, any one can help me?

PS: sorry for my poor english

0 new messages