I am trying to migrate a vb6.0 application to vb.net. I have a major issue while executing the code under form.activated and form.deactivate. There is a difference in behaviour between form.activate in vb6.0 and form.activated in vb.net. How can I simulate the behaviour of vb version in vb.net.
I have read that the form.activated fires even when the control goes to a different application and comes back.
Sorry, I am not able to get you. what I mean is:
You have a forms application(vb.net) with 2 forms and another application(eg: outlook client )opened. What I am trying to achieve is: form1.activate event should fire when the control comes only form2 and not from the other application(egutlook client). It should be the same with the deactivate event. It happens like this in vb6 but not in vb.net