jackjohnson44
asked on
vb.net showdialog
I am displaying a form, with a textbox and a property saveName.
When I try to call that function after the form closes, there is no value
in the property.
Dim saveAsForm As New FrmSaveTest()
If saveAsForm.ShowDialog = DialogResult.OK Then
name = Trim(FrmSaveTest.saveName)
If name = "" Then Exit Sub
Else
Exit Sub
End If
When I try to call that function after the form closes, there is no value
in the property.
Dim saveAsForm As New FrmSaveTest()
If saveAsForm.ShowDialog = DialogResult.OK Then
name = Trim(FrmSaveTest.saveName)
If name = "" Then Exit Sub
Else
Exit Sub
End If
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks