Jump to content
steli

List1.add

Recommended Posts

Ms foarte mult Raven,inca o intrebare dak se poate :D

Ce apare in List1 as vrea sa se salveze intr`un .txt cum procedez stiu ca era ceva de genu:

Dim MyIndex, FileNumber

FileNumber = FreeFile

Open App.Path & "\exemplu.log" & MyIndex For Append As #FileNumber

Write #FileNumber, "unu"

Link to comment
Share on other sites

Private Sub Command1_Click()
On Error Resume Next
CommonDialog1.Filter = "TXT File (*.txt)|*.txt"
CommonDialog1.ShowSave
If CommonDialog1.FileName <> "" Then
Open CommonDialog1.FileName For Output As #1
Print #1, Text1.Text & vbCrLf & vbCrLf
Close #1
End If
End Sub

Components->microsoft common dialog control 6.0 si il pui pe form

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...