Visual Programing

Logged as Anonymous. Your last visit was on

You are not connected. Please login or register

Post new topic  Reply to topic

View previous topic View next topic Go down  Message [Page 1 of 1]

k0j0e


Admin
Admin
1. make a Textbox.
2. make a commonDialog and name it CD.
3. make a button. The caption is Save.
4. Double click Save then type that :

Code:
Private Sub cmd1_Click()
On Error GoTo errhandler
With CD
.DialogTitle = "Where To Save?"
.Filter = "Text Files (*.txt)|*.txt"
.DefaultExt = "*.txt"
.CancelError = True
.ShowSave
End With

Open CD.FileName For Output As #1

Print #1, Text1.Text

Close #1


Exit Sub

errhandler:
Exit Sub

End Sub


Finish...

SPECIAL THANKS TO Arcady FOR THE TUTORIAL

-k0j0e


_________________


DONATE NOW! CLICK HERE
Our NEW Main Website http://www.visualprograming.co.cc
View user profile http://vbforum.forumotion.net

View previous topic View next topic Back to top  Message [Page 1 of 1]

Post new topic  Reply to topic

Permissions of this forum:
You cannot reply to topics in this forum