Normal Behavior

iebidan

Contributor
Joined
Feb 6, 2003
Messages
484
Hi, I hope you can help me out with this... First, I'm using VS.NET 2003, a solution with eleven projects (as for now), and Visual Basic...
I'm trying to write some code for a textbox in the leave event, the code is supposed to go to the DB an look for some data, but in a strange way the code executes twice... no other code that calls again the event, is this a normal behavior????, that the code gets executed twice???, the first time everything works perfect, but when the code executes the second time I get an error.

Can someone help me out with this????
 
Well, it sounds odd to me also, but is happening, but somehow when I do it ina a new App that doesn't ocurrs... so i might check pretty well my app before sending anything (is kind of big where this happens)
Thanks anyway for your help
 
I had the same kind of problem and found that it was hooking events over and over that were already hooked. I ended up having to unhook all the events and then rehook them just to make sure I didn't double hook any.
 
Back
Top