Solved

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

Posted on 2007-12-05
2
174 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now