Saveas dialog box in with particular format to save

Posted by Karthikanbarasan under VB.NET category on | Points: 40 | Views : 4673
Public Shared Function fnSaveAsFile() As String
Dim filesaveas As New SaveFileDialog
filesaveas.Filter = "Word Document files | *.doc"
If filesaveas.ShowDialog() = DialogResult.OK Then
Return filesaveas.FileName
Return ""
End If
End Function

Comments or Responses

Login to post response