I have an application such that it has a combo box and when the form is up and loaded; I'd like to call another form when they select an item in the combo box.
I've tried putting the following code in various events (its currently in selectedvaluechange) but no matter where I put it; vb.net opens the form when it first loads without anyone even having an opportunity to see the combo box on the screen much less click on it.
Should I be using a diff event or different code.
Under selectedvaluechange I have
If cboDiscounts.Text Like "*system.data.datarowview*" Or System.Convert.IsDBNull(cboDiscounts.Text) = True Then
Basically; by using if system.data.datarowview which I'm not even sure you can use in an expression or isdbnull; I'm trying to tell it that while the form is still loading and the text in the comboxbox is blank; do nothing. Wait for the combo to load and let the user click something then open the form.
No success. yet.
Thanks for anyones help with this !