hi,
I want to access ini file in my application , which asked for the centre ID b4 login & starts, it asked this only for one tym when it start at first tym & never asked this question again.
The second reason to use ini file is , i want to pass a string of database connection from the ini file to my connection.dll file, bcz the connections details can be change in future, so i cnt hard coded it in my application.
Can any one tell me how to use this from ini file.
actually i m new to these file concepts , so i hv no idea for that. so pls provide me some steps or code 4 that.
Thanx in advance
kool.net 0 Light Poster
Recommended Answers
Jump to PostYou're shooting yourself in the foot if you want to use ini files. Traditionally those files are stored in the same directory as the application and with windows Vista and later versions of windows you have something called virtualized folders. That means when you write to C:\Program Files\YourApp\YourFile.ini the write …
All 7 Replies
DdoubleD 315 Posting Shark
Geekitygeek 480 Nearly a Posting Virtuoso
milosz 0 Newbie Poster
Geekitygeek 480 Nearly a Posting Virtuoso
kool.net 0 Light Poster
sknake 1,622 Senior Poster Featured Poster
milosz 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.