|
-
April 17th, 2000, 06:30 AM
#1
Linefeed character truncates the data in WritePrivateProfileString
I am using WritePrivateProfileString to store some character data.Now if the string to be stored contains Line Feed (Chr$(10)) character then WritePrivateProfileString terminates the string and stores characters upto chr$(10) in the ini file.Is there any way of storing line feed characters in an ini file using WritePrivateProfileString
-
April 17th, 2000, 08:46 AM
#2
Re: Linefeed character truncates the data in WritePrivateProfileString
afaik you can't, but you can replace a vbcrlf with another char, and when reading the ini file, change it back
Crazy D :-)
"One ring rules them all"
-
April 18th, 2000, 01:39 AM
#3
Re: Linefeed character truncates the data in WritePrivateProfileString
But in that case how to take care if the same character is actually there , I mean it will inadvertently get replaced by linefeed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|