+ 1
How can i open a form in visual basic using the result of equation? If IMC <=18.5 then open de form. How i can do that in VB?
visual basic
2 Answers
+ 1
Awsomeee thanks a lot it works!!
0
If IMC <= 18.5 Then
FormName.ShowDialog()
End If
Or depending on how you are declaring it or if you want to access the results of the form later
Dim myForm As New FormName()
If IMC <= 18.5 Then
myForm.ShowDialog()
End If