|
-
Feb 9th, 2010, 11:07 AM
#7
Thread Starter
Addicted Member
Re: [RESOLVED] How to convert CDSAVE. in VB6
 Originally Posted by stanav
Use the SaveFileDialog class as Kleinma suggested. Something like this:
Code:
Using sfd As New SaveFileDialog()
With sfd
.Title = "Select Log File to Save As"
.Filter = "Text File (*.txt)|*.txt"
.OverwritePrompt = True
If .ShowDialog() = Windows.Forms.DialogResult.OK Then
System.IO.File.WriteAllText(.FileName, "the text to write to the file here")
End If
End With
End Using
I appreicate it!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|