Try writing it to a text document, and then re-reading it back, then delete the txt doc

Try this

vb.net Code:
  1. Dim MyTempFilePath As String = My.Computer.FileSystem.SpecialDirectories.AllUsersApplication.Data & "\MyApplicationName\lvltxt.txt"
  2.  
  3. Using sw As New StreamWriter(MyTempFilePath)
  4.     sw.Write(My.Resources.ResourceManager.GetObject("filename"))
  5. End Using

'Then read it again with all your code that you were using before, (give or take some necessary modifications)

Then at the end
vb.net Code:
  1. File.Delete(MyTempFilePath)

Personally I have a class called 'DirectoriesC' which has all my directories \ names for things like this:

vb.net Code:
  1. Dim ad As String = My.Computer.FileSystem.SpecialDirectories.AllUsersApplicationData
  2. Dim ProgramName As String = "thething"
  3. Dim TempLvlExpName As String = "lvlxp_temp"
  4. Dim TempLvlExpExt As String = ".txt"
  5. Dim TempLvlExpPath As String = ad & "\" & ProgramName & "\" & TempLvlExpName & TempLvlExpExt

good for organizing things, especially large projects, where the names can change

Cheers

(Mark thread as resolved when your done, with little green post icon tick)