M
Maurice van 't Loo
Hi,
I'm pretty new with VB, especialy with 2008 Express So i need your
help...
I have a text file containing:
VERSION 3
ADDEDVERSION 5
OPTION_GUILD_RECRUITMENT_CHANNEL AUTO
CHANNELS
guild 1 3
dutchworld 1 4
WorldTrade 1 5
GMhelp 1 6
END
ZONECHANNELS 16777216
COLORS
SAY 255 255 255
....
....
And i want to replace the part between CHANNELS and END
I allready found a way to read those lines and change it in the way i want
and put it in an array ( Dim channel_names(0 To 10) As String )
Now i want to replace those 4 lines with my array.
Does anyone has an idea to do this?
Or can anyone give me some hints or examples?
Thanks,
Maurice
I'm pretty new with VB, especialy with 2008 Express So i need your
help...
I have a text file containing:
VERSION 3
ADDEDVERSION 5
OPTION_GUILD_RECRUITMENT_CHANNEL AUTO
CHANNELS
guild 1 3
dutchworld 1 4
WorldTrade 1 5
GMhelp 1 6
END
ZONECHANNELS 16777216
COLORS
SAY 255 255 255
....
....
And i want to replace the part between CHANNELS and END
I allready found a way to read those lines and change it in the way i want
and put it in an array ( Dim channel_names(0 To 10) As String )
Now i want to replace those 4 lines with my array.
Does anyone has an idea to do this?
Or can anyone give me some hints or examples?
Thanks,
Maurice