Hello, I am creating a game for my final project and my teacher requires us to have a save and open dialog in the program. Well, I have the save done. Here is the code to probably help with the issue:
That is the order. Each one represents a value. Here is an image of where those values need to go:Code:File.WriteAllText(SaveFileDialog.FileName, PlayerName & vbNewLine & PlayerHealth & vbNewLine & PlayerCash & vbNewLine & PlayerInfantry & vbNewLine & PlayerTanks & vbNewLine & PlayerJet & vbNewLine & PlayerMissile & vbNewLine & PlayerNuke & vbNewLine & PlayerRepairsLeft & vbNewLine & AiName & vbNewLine & AiCash & vbNewLine & AiInfantry & vbNewLine & AiTanks & vbNewLine & AiJet & vbNewLine & AiMissile & vbNewLine & AiNuke & vbNewLine & AiRepairsLeft)
I do not know how to do this as I have never done it like this before. Hopefully I explained everything well. Thanks!




Reply With Quote
