I like make save stat editor game but I have smell problem and I hope someone help me for that is problem.:cry:
When I click in checkbox then save as, It is change TwoByte not Curval ?
Example: in the save file game is live 02 but when I saved then I check in file I see like this:0200, I wonder what is wrong I do?
Thank you advance
Code:
Public Sub SaveState(pFile As String)
If pFile = "" Then Exit Sub
Dim FF As Long
FF = FreeFile()
Open pFile For Binary As FF
' Save the Lives
If chkLive.value = 1 Then Put #FF, 117290 + 1, 1
Close #FF
End Sub
Example: in the save file game is live 02 but when I saved then I check in file I see like this:0200, I wonder what is wrong I do?
Thank you advance