I'm using the CMDialog function to save and open a file that I'm creating through my program. I save information fine but, when I open a file I have to open it twice and it seems that the same pieces of information are blankedout of spots.<br>
Private Sub Getfields()<br>
SHEET.cname.Caption = Charfile.charname<br>
SHEET.crace.Caption = Charfile.charrace.....<br>
End Sub<br>
Private Sub savefile()<br>
Pos=1,Recordlen=Len(Charfile),Filenum=Freefile,Filename=cmdialog.filename,<br>
Open Filename For Random As Filenum Len = Len(Charfile),<br>
Getfields, Put #Filenum, Position, Charfile, Close, End sub Type Character Character AS string*25, Charrace As String *35 .... End type>>>>>>>> "Clueless"<br>
<p>Casmaran<br><a href=mailtoHellert@Aol.com>DHellert@Aol.com</a><br><a href= > </a><br>
Private Sub Getfields()<br>
SHEET.cname.Caption = Charfile.charname<br>
SHEET.crace.Caption = Charfile.charrace.....<br>
End Sub<br>
Private Sub savefile()<br>
Pos=1,Recordlen=Len(Charfile),Filenum=Freefile,Filename=cmdialog.filename,<br>
Open Filename For Random As Filenum Len = Len(Charfile),<br>
Getfields, Put #Filenum, Position, Charfile, Close, End sub Type Character Character AS string*25, Charrace As String *35 .... End type>>>>>>>> "Clueless"<br>
<p>Casmaran<br><a href=mailtoHellert@Aol.com>DHellert@Aol.com</a><br><a href= > </a><br>