RE:como guardar el contenido de un
sthif,
agregue un par de cosas pero no consigo que el archivo que crea se guarde con el contenido que hay en el control lb
asi tengo el codigo actualmente:
string ls_path, ls_file, trama
int li_rc
ls_path =sle_1.Text
li_rc = GetFileSaveName ( "Seleccionar Archivo", ls_path, ls_file, "txt", "Archivo de texto (*.txt),*.txt")
IF li_rc = 1 THEN
sle_1.text =ls_path
integer li_FileNum
li_FileNum = FileOpen( ls_path, StreamMode!, Write!, Shared!, Replace!)
long i
for i = 1 to upperbound(lb_entrada.item)
FileWrite(li_FileNum, string(lb_entrada.item[i]+'~r'))
next
FileClose(li_FileNum)
Messagebox('Proceso', 'Fin')
end if
Gracias.