Re: 💻 What’s the First App You Install on a Fresh Windows Machine? Hardware and Software Microsoft Windows by Reverend Jim …; with appropriate adjustments being made according to the hidden desktop.ini file. What an abortion of a file system. And OneDrive… Ini file Programming Software Development by jonathanasdf Hehe. I tried googling this, but all I've come up was Visual C++ results. How would I go about reading from a VERY VERY basic ini file in console C++ Using DevC++? The only things in the ini file are: b=65.0 c=1.5 k=1.65 I'm linking to this ini so that the value of those numbers can be changed without recompiling the whole thing. Re: Ini file Programming Software Development by WaltP [QUOTE=jonathanasdf;518840]Hehe. I tried googling this, but all I've come up was Visual C++ results. How would I go about reading from a VERY VERY basic ini file in console C++ Using DevC++?[/QUOTE] Why would VC be different than DEV? Open the file Read a line Figure out what the line contains Re: Ini file Programming Software Development by jonathanasdf and how would you do this? how would you program this? If I just use: #include "file.ini" it gives errors. How do you read from it? Also, VC++ uses completely different commands from console c++ and WinAPI... Ini replacement Programming Software Development by Suzie999 I use an ini file in another language to load user settings into an …application. However, I see that C# does not natively support ini files, and favours xml. My problem is I've never… INI Files Programming Software Development by privs … they no longer read/write to registry but to an ini file which can be stored in a directory. Can anyone… with a link to how to create and read from ini files. any help you can provide will be most appreciated… Re: INI Files Programming Software Development by WaltP An INI file is just a file that you define. It's a text file containing the data you want to write to it. It's not a [I]special file[/I], it just has a different extension -- .INI Re: INI Files Programming Software Development by mitrmkar [QUOTE=privs] Can anyone provide me with a link to how to create and read from ini files.[/QUOTE] You might read up on the [ICODE]GetPrivateProfile...()[/ICODE] and [ICODE]WritePrivateProfile...()[/ICODE] functions, see [URL="http://msdn.microsoft.com/en-us/library/ms724875%28v=VS.85%29.aspx"]Registry Functions[/URL] Re: INI Files Programming Software Development by privs i have read and am using this code but no file gets created , can anyone please help me: [ TIniFile *StartUp = new TIniFile("privs.ini"); Left = StartUp->ReadInteger("FormPos", "Left", 250); Top = StartUp->ReadInteger("FormPos", "Top", 200); delete StartUp; ] INI file and UserProfile Programming Software Development by shers Hi, Is there a way to manually store a value to get the user profile path of a user in the INI file? Thanks INI file Programming Software Development by unnamed17 Help in creating INI file Re: INI file Programming Software Development by N1GHTS I will just add that if this is a new project, using an XML configuration file format or using the registry could be better solution than using INI files to store software settings. INI reader Programming Software Development by shahinkey Dear all, I have problem with reading from ini file. My code is as follows, but it has Error … Batch Insert Lines to an INI file problem : BLANK LINES? Programming Software Development by BigDork … applicable batch code: [code]@echo off > %AppData%\PROGRAM\NEW.INI setLocal EnableDelayedExpansion find "DESIRED STRING" < %AppData%\PROGRAM…\EXISTING.INI > nul if not errorlevel 1 goto :FOUND for /f… Re: php.ini error_reporting not doing it's job! Programming Web Development by nonshatter … Previously I was using the cli to locate the php.ini file: (I assumed there would only be one) [CODE…] # php --ini Configuration File (php.ini) Path: /etc/php5/cli Loaded Configuration File: /etc… issuing: [CODE] # locate php.ini /etc/php5/apache2/php.ini /etc/php5/cli/php.ini [/CODE] There was a dupe config… php.ini confusion Programming Web Development by midget … taken ; before going online with your site, please consult php.ini-recommended ; and http://php.net/manual/en/security.php. ;;;;;;;;;;;;;;;;;;; ; …all bcmath functions. bcmath.scale = 0 [browscap] ;browscap = extra/browscap.ini [Informix] ; Default host for ifx_connect() (doesn't apply in safe… Checking if ini Exists Programming Software Development by Cap'nKirk … [CODE] static void Main() { Application.Run(new Form1()); IniFile ini = new IniFile(System.IO.Path.Combine(Application.StartupPath, "SUsettings….ini")); if (ini.Exists()) ini.Load(); else { DialogResult dr = MessageBox.Show("… Re: php.ini file not being read Programming Web Development by ian111 …far. phpinfo file [information from phpinfo file] Configuration File (php.ini) Path /usr/local/php5 [in this path i have made… sure there is a php.ini file] './configure' '--with-apxs2=/usr/local/apache/bin/apxs' …error is still being displayed though I have set php.ini not to display errors. Also strated a thread in … php.ini file not being read Programming Web Development by ian111 …fine. But when I do changes in the php.ini file none of the work. Have looked at … /usr/local/php5 so php.ini is not being read. have put php.ini file in the /usr/local/…is still not being read. also chmod the php.ini to 777 and still not being read. Also …tried to put the php.ini file in other locations like /etc and /usr/… Re: How do you read a .ini file? Programming Software Development by sendoshin …Windows API functions (mentioned above) that might serve your INI-handling needs without the need to write your own …] I'll try to compare this to a standard INI file. AppName would be equivalent to the filename of…]MakeItWork.exe[/inlinecode], with an INI file called [inlinecode]miw.ini[/inlinecode]. To migrate from INI to the Windows Registry, I … Re: php.ini confusion Programming Web Development by midget …exactly - the first set are the headers from the php.ini file that keeps you logged in - the first session … wanna stay logged in and Ido with the first php.ini file and this is with that file [code] Host…phpbb3_jnspi_sid=d3cc59dc87af2e5b18e97dee9a23a2a3 /[/code] now these two are from the php.ini file that logs me out when I go from one… Re: Update ini files Programming Software Development by parry_kulk … to add a value in the existing ini file, [CODE] //New Ini instance Ini ini = new Ini(); //Load the ini file File file = new File("…;test.ini"); ini.load(new FileReader(file)); //adds a new value ini Re: php.ini confusion Programming Web Development by digital-ether … -that would make sense except it works with one php.ini file and not the other? PHPSESSID is used for everything… where it isn't working, related to some other php.ini setting, or file permissions etc. that you are overlooking? You… Modify Boot.ini Hardware and Software Microsoft Windows by Dani …:[/i] [font=Arial][size=5][color=#0000ff]Modify Boot.ini[/color][/size][/font] [font=Arial][size=2]Windows XP …uses the Boot.ini file to determine the operating system options to display during… the startup (boot) process. Boot.ini is set with the hidden and system file attributes and… Re: php.ini file not being read Programming Web Development by Troy …will not start unless it's reading it's ini file. So may I suggest one of two… things. 1. The php.ini file you are editing is not the one …by Apache. To test this, rename your php.ini file to php.bad or something. Then restart …If it still works, you need to locate the ini file actually being used, and make your changes there… Re: php.ini confusion Programming Web Development by midget … you started from) this all works fine with one php.ini file and pretty fine with the other - the only thing… Re: php.ini confusion Programming Web Development by midget … -that would make sense except it works with one php.ini file and not the other? PHPSESSID is used for everything… invalid boot.ini file Booting from C:\windows\ Hardware and Software Microsoft Windows by shannon22 … to display hidden files. Now do a search for BOOT.INI (it should be on C:\ and not in any folders… like to. I've included the default examples for boot.ini for XP and 2000 below. Here is an example of… a boot.ini in XP: [boot loader] timeout=30 default=multi(0)disk… booting problem and boot.ini Hardware and Software Microsoft Windows by david888m … UBCD to go into the Recovery Console. I deleted boot.ini, confirmed the file was gone by "type boot….ini", and fixed the boot sector by "bootcfg /reload&… computer booted up. However, my new boot.ini isn't a completely new boot.ini. Instead, it is simply the old boot… accessing an .ini file? Programming Software Development by abc88 … is on different server. i was told to create an .ini file and add the settings here. so i have to… add the path to the folder and database in .ini file, correct? is there anything else which i should add… in .ini file? is it compulsory to give the [section] in the…