N
Nick
I am trying to add to existing resource files in vb code.
The code below seems to overwrite the resource file, even
though I use OpenOrCreate file mode.
Dim fs As New FileStream("c:\items.resources", _
FileMode.OpenOrCreate, FileAccess.Write)
Dim writer = New ResourceWriter(fs)
writer.AddResource("String 3", "Third String")
writer.Close()
I tried using filemode Append, but then it appends the
whole resource file, including the header info, which I
presume is incorrect.
Thanks,
Nick
The code below seems to overwrite the resource file, even
though I use OpenOrCreate file mode.
Dim fs As New FileStream("c:\items.resources", _
FileMode.OpenOrCreate, FileAccess.Write)
Dim writer = New ResourceWriter(fs)
writer.AddResource("String 3", "Third String")
writer.Close()
I tried using filemode Append, but then it appends the
whole resource file, including the header info, which I
presume is incorrect.
Thanks,
Nick