Okay, i dont even have an idea where to start with this one because im kinda new to C#-
i have a string, "currentINI" which holds all the text of an ini file that i have open.
heres what the ini looks like:
MappedImage DestroyerCameo_L
Texture = HAPPYBRIAN.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:123 Top:49 Right:241 Bottom:144
Status = NONE
End
MappedImage Entry_1
Texture = HAPPYBRIAN.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:124 Top:49 Right:241 Bottom:143
Status = NONE
End
MappedImage hello_barnicle
Texture = HAPPYBRIAN.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:0 Top:0 Right:120 Bottom:94
Status = NONE
End
MappedImage little_tank
Texture = HAPPYBRIAN.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:122 Top:0 Right:181 Bottom:47
Status = NONE
End
i need to find the text after every spot where it says "MappedImage " and populate a combo box with those names. each entry starts where it says "MappedImage " and i want to be able to find all of those entries by their names
pleeease help me with this, ive been searching google for hours trying to solve this
-StumpyINC
View the full article
i have a string, "currentINI" which holds all the text of an ini file that i have open.
heres what the ini looks like:
MappedImage DestroyerCameo_L
Texture = HAPPYBRIAN.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:123 Top:49 Right:241 Bottom:144
Status = NONE
End
MappedImage Entry_1
Texture = HAPPYBRIAN.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:124 Top:49 Right:241 Bottom:143
Status = NONE
End
MappedImage hello_barnicle
Texture = HAPPYBRIAN.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:0 Top:0 Right:120 Bottom:94
Status = NONE
End
MappedImage little_tank
Texture = HAPPYBRIAN.tga
TextureWidth = 512
TextureHeight = 512
Coords = Left:122 Top:0 Right:181 Bottom:47
Status = NONE
End
i need to find the text after every spot where it says "MappedImage " and populate a combo box with those names. each entry starts where it says "MappedImage " and i want to be able to find all of those entries by their names
pleeease help me with this, ive been searching google for hours trying to solve this
-StumpyINC
View the full article