March 4, 2009

Vb.net - Save File Dialog box

dim strSaveFile as string

With SaveFileDialog1
.CheckFileExists = False
.Filter = "Word Documents(*.doc)*.doc"
.FilterIndex = 1
If .ShowDialog() = Windows.Forms.DialogResult.OK Then
strSaveFile = .FileName()
End If
End with

1 comment:

  1. This code display only Document version less than 12.0

    ReplyDelete