Solved

To change  path(location) were ini file should be created

Posted on 2007-12-05
2
179 Views
Last Modified: 2010-04-04
 I have my Delphi.exe  program on desktop. And on desktop a get my ini file  itch time
i start my application.  how to create it somewhere else?
0
Comment
Question by:pr2501
2 Comments
 
LVL 19

Accepted Solution

by:
MerijnB earned 50 total points
ID: 20411406
provide a path when you create the TIniFile class

var IniFile: TIniFile;
begin
 IniFile := TIniFile.Create('c:\windows\myini.ini');
 ...
end;
0
 
LVL 21

Expert Comment

by:ziolko
ID: 20411511
use registry

ziolko.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question