TheSwamp
Code Red => VB(A) => Topic started by: Humbertogo on October 02, 2006, 06:09:33 AM
-
can some one tell me how to read the values of this kind of file
i need to read the File [FName] value
File:
-----------------------------------------------
Version [Real]= 15.0 d E
[cfg]= d E
ScanMode [Short]= 1 d E
[]
[Dir]= d E
[Test_Library]= d E
Name [String]="Test Library" d E
File [FName]="C:\test\lib.glf" d E
[]
---------------------------------
-
You could roll your own or use the WinAPI. Here's some info on the latter --
See MSDN entry, scroll down the bottom of this (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/registry_functions.asp) page, you should see --
(http://www.theswamp.org/screens/mp/inimethods.png)
For those headed towards .NET >> this (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/Custxmlread.asp) << may be an interesting read.
:)
-
ready try but
File [FName]="C:\test\lib.glf" d E
is coming entry (is not a key)