J
Joerg Trumpfheller
Hi folks,
Don't know how to get info about the second dialog which appears after
clicking a button of the first dialog.
following situation:
Dim saveMode As Boolean
Dim saveFileDialog1 As New SaveFileDialog()
' if I clicking the ok button, set value true, pdfreport will be created
If (saveFileDialog1.ShowDialog() = DialogResult.OK) Then
saveMode = True
Else
saveMode = False
End If
for the first time running this it works fine. The next time I start and
click the ok button a new dialog appears with a message "File already
exists, Override Yes/No". After clicking yes the programm runs on at the
else mode, so the saveMode var is set to false.
How can I ask for return values of the second dialog? Any idea?
Joerg
Don't know how to get info about the second dialog which appears after
clicking a button of the first dialog.
following situation:
Dim saveMode As Boolean
Dim saveFileDialog1 As New SaveFileDialog()
' if I clicking the ok button, set value true, pdfreport will be created
If (saveFileDialog1.ShowDialog() = DialogResult.OK) Then
saveMode = True
Else
saveMode = False
End If
for the first time running this it works fine. The next time I start and
click the ok button a new dialog appears with a message "File already
exists, Override Yes/No". After clicking yes the programm runs on at the
else mode, so the saveMode var is set to false.
How can I ask for return values of the second dialog? Any idea?
Joerg