I believe I asked this type of question before, but in a different manner. I'm trying to write a way of reading data in this format:
How would I first look for the section of data called SECTION_NAME (Which is contained using {} ).Code:"SECTION_NAME" { "ControlName" "Button" "fieldName" "ButtonItem1" "xpos" "489" "ypos" "400" "zpos" "290" "wide" "400" "tall" "180" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "0" "settitlebarvisible" "1" "title" "Hellow World!" "sizable" "0" }
Then, the more important part, how would I go about reading, lets say, the variable for "title".
I'm trying to write a function like so:
VB Code:
Public Function Data_Read(ByVal section As String, ByVal variable As String) As String
VB Code:
Public Function Data_Write(ByVal section As String, ByVal variable As String, ByVal value As String)
Thanks guys. I know I can bother some with my redudant questions.




Reply With Quote