Both the. NET Framework and the. NET Compact Framework set are perfect for supporting XML files, and Microsoft strongly recommends replacing the INI file with an XML file, but most of the projects in the industrial area are based on the INI file
Reference: http://www.cnblogs.com/zhangzhifeng/archive/2011/12/01/2270267.htmlI. Structure of INI fileThis is a comment about the INI file [node] keyword = value ...INI file allows multiple nodes, each with multiple keywords allowed, and "="
Recently, I wrote a new MySQL connection. To facilitate flexible application, read MySQL connection parameters by reading the INI file.
By the way, I learned about the INI file.
INI format.
The INI file consists of multiple sections.
[Network] //
PHP Development Note Series (v)-INI file explanation
??? In Java development, we often use the properties file to save the entire project needs to use the configuration information, such as database connection string, user name, password, file
This is VB code, create a new ActiveX DLL, and then change the project name and class name, and then enter the following content in the class.
'//////////////////////////////
' Chinese name: INI file operation class
' English name: Blood_ini Class
'
Before writing this article, I searched for blog posts about ini reading and writing on the Internet, but it is difficult to find the method for reading all the keys in the Section (finally I found ^_^ ). Next, let's talk about ini :( ** I am a CP **
How does PHP read all the content of a node in the INI file? Suppose there is an ini file (aa. ini) with the following content:
[Aa]
AB = 12
Ac = 123
Ad = 1234
[Bb]
Bb = 22
Bc = 343
The items in [aa] and [bb] are not fixed. how can I read only the
'[VB Source Code Recommendation: A class that operates the INI file]
'-------- CIniFile. cls code ----------------
'A cIniFile class is defined here.
Option Explicit
'// Private member that holds a reference
'// The path of our ini file
Private
Http://msdn2.microsoft.com/en-us/library/ms889558.aspxWindows mobile version 5.0 SDK creating an. ini file for the Application Manager
Send feedback
The. ini file contains information that registers an application with the Application Manager.
Original: C # read INI fileExcerpt from: Ituri tutorial WebHttp://www.etoow.com/html/2007-08/1187271505-1.htmlAlthough Microsoft has recommended in Windows to replace the INI file with the registry, but in the actual application, the INI file still
INI is an abbreviation for initialization. INI file is a lightweight configuration file that is widely used in a variety of operating systems and software. INI file is a simple text file, the basic structure is simple, the readability is high, the
Get a string from an. ini file
Var
Strresult:pchar;
Begin
GetPrivateProfileString (
´windows´,//[] The name of the title in
´nullport´,//= number before the name
´nil´,//If the string is not found, the default value returned
Strresult,//Store get
Delphi provides a Tinifile class that allows us to handle INI files with great flexibilityA INI file structure[Section name]ini fileKeyword 1= value 1Key sub-2= value 2INI file allows multiple subsections, each of which allows for multiple keywords,
How does delphi connect to SQL Delphi/Windows SDK/API by configuring the INI file?
Http://www.delphi2007.net/DelphiDB/html/delphi_20061221172852177.html
How does delphi configure the INI file to connect to SQL?
There are no examples or
Code ?
I
. Ini file
The INI file (also called the initialization file) is used to save the applicationProgramA special ASCII file for setting and options. It uses ". ini" as the file extension and is also called a configuration file or profile ). In
When we write some test tools, often need to use to the configuration file, when the general choice of INI file is more appropriateStandard and can be named by the parameter to know the meaning of the parameter, then how to use Python to read and
This is VB code, create a new ActiveX DLL, and then change the project name and class name, and then enter the following content in the class.
'//////////////////////////////
' Chinese name: INI file operation class
' English name: Blood_ini Class
'
Get a string from an. ini file
Var
Strresult:pchar;
Begin
GetPrivateProfileString (
Name of the title in ' Windows ',//[]
' Nullport ',//= before the name
' NIL ',//If the string is not found, the default value returned
Strresult,//Store get
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.