Voici un bout de mon code ( ne faite pas attention au nom du fichier et au point ^^ )
Private Sub timer_faim_Timer()
If compte_faim = 1 Then
If cube_faim5.Visible = True Then
cube_faim5.Visible = False
Open App.Path & "/data/gtu86d48.lord" For Output As #2
Write #2, 100
Close #2
end if
end if
end sub
Mon problème, visual basic ne m'affiche aucune erreur, mais, lorsque je vérifie mon fichier, le nombre 100 n'a pas était écris !
Alors que :
Private Sub command1_click()
Open App.Path & "/data/gtu86d48.lord" For Output As #2
Write #2, 100
Close #2
end sub
la, il écris le nombre 100 dans le fichier !
Pourquoi ?
LORDFINALFF