473,387 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

$ signs in ini-files

I have an inifile on my network that looks like this before installing
a new version on my program:
.....
.....
....
Line.7=$S.1Address 1 : $23
Line.8=$S.1Address 2 : $24
Line.9=$S.1Date : $28
Line.10=$S.1Resp. : $29

After installation, it looks like this:

Line.7=22
Line.8=23
Line.9=24
Line.10=28
Line.11=29

Everything between the $ signs are deleted. Anyone that knows how to
solve this problem?

Nov 28 '06 #1
2 1039
>Everything between the $ signs are deleted. Anyone that knows how to
solve this problem?
How is this related to .NET? What kind of installer are you using, and
is it modifying the INI file during setup?
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 28 '06 #2
Try this INI handler / class for .net

http://www.aejw.com/default.aspx?page=dev_cini
<ol*********@gmail.comwrote in message
news:11*********************@h54g2000cwb.googlegro ups.com...
>I have an inifile on my network that looks like this before installing
a new version on my program:
....
....
...
Line.7=$S.1Address 1 : $23
Line.8=$S.1Address 2 : $24
Line.9=$S.1Date : $28
Line.10=$S.1Resp. : $29

After installation, it looks like this:

Line.7=22
Line.8=23
Line.9=24
Line.10=28
Line.11=29

Everything between the $ signs are deleted. Anyone that knows how to
solve this problem?
Nov 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Ruby Tuesdays | last post by:
How do you tell Apache or PHP of what php.ini file to use, specifically? I manage to tell Apache/PHP where to find php.ini by defining an environment variable PHPRC to a specified directory where...
2
by: Robert Misiorowski | last post by:
Hello, Everything started with me wanting to write a little command line php script that uses some gd functions. After a little research, I realized I need to unccomment the line in my php.ini...
13
by: Don | last post by:
I just put up php.ini-recommended as php.ini in the server-side working directory where my php scripts are located. The file has "magic_quotes_gpc" set to "Off", but when I test it within my php...
2
by: astro | last post by:
I want to get the numeric named constant value from an ini file. Basically I want to translate a string data type into the named constant value it represents. For example - for SQL-Server...
7
by: Jack Lindamood | last post by:
PHP 5.1, Windows Server 2003, IIS 6, isapi I changed a line in the php.ini file to extension_dir = "c:\php\ext" but when I load my phpinfo page it shows extension_dir C:\php5 It's like my...
2
by: gg9h0st | last post by:
php5.14, apache 2.0.58 windowsXp there's no problem running apache server with php. but i can't modify my php.ini file. when i tried to modify my php.ini in c:/php to load extensions, i...
17
by: ~john | last post by:
As the installation txt suggests, I have left my php.ini file inside the c:\php directory... but running phpinfo() shows that my php.ini file is in c:\windows as shown below. Configuration File...
6
by: dylan.boudreau | last post by:
My configuration is Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7d PHP/5.0.4 on Solaris 10. phpinfo() lists the location of php.ini as /usr/local/apache/conf and my php.ini file is there but...
13
by: Lars Willich | last post by:
As far as I know I can override the php settings for a certain branch of the whole directory tree by putting a additional, new php.ini in this directory. Is this true ? If I assign in this new...
0
by: RobR2009 | last post by:
I am having trouble with a C# proxy page I am writing which allows me to do cross domain AJAX calls with Javascript. The problem is with certain pages that contain pound signs £ that are not HTML...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.