on 02-05-2010 5:42 AM
I donot know why i have to Click open twice for to get filename
Hi RakeshBos
Problem could be because of
you need not to include firstly FileDialog.ShowDialog(MyWindow) and then asking for the click event whether its OK or Cancel
just do this directly----
''FileDialog.ShowDialog(MyWindow)--- DONT INCLUDE THIS LINE
If FileDialog.ShowDialog(MyWindow) = DialogResult.OK Then
sboPath.Value = FileDialog.FileName
ElseIf FileDialog.ShowDialog(MyWindow) = DialogResult.Cancel And sboPath.Value = "" Then
sboPath.Value = ""
End If
Regards
Saurabh
Edited by: SAPRasto on Mar 11, 2010 7:52 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.