T
tash.robinson
I have a modal form called like:
myKeyboard.ShowDialog(Me)
If myKeyboard.DialogResult = Windows.Forms.DialogResult.OK Then
result = myKeyboard.txtEntry.Text
Else
result = defaulttext
End If
On the keyboard form three is an OK button and a cancel button with
the corresponding DialogResult OK and cancel properties.
This works fine on several machines. On one PC however, pressing the
OK and cancel buttons does not seem to set the DialogResult and never
closes the form. The click events for the buttons do fire though.
What could cause this problem?? I am stumped, is it a missing dll or
some bug in the framework? anyone else ever have a similar problem?
myKeyboard.ShowDialog(Me)
If myKeyboard.DialogResult = Windows.Forms.DialogResult.OK Then
result = myKeyboard.txtEntry.Text
Else
result = defaulttext
End If
On the keyboard form three is an OK button and a cancel button with
the corresponding DialogResult OK and cancel properties.
This works fine on several machines. On one PC however, pressing the
OK and cancel buttons does not seem to set the DialogResult and never
closes the form. The click events for the buttons do fire though.
What could cause this problem?? I am stumped, is it a missing dll or
some bug in the framework? anyone else ever have a similar problem?