click ocx, press delete and kill progress!

okjjvam

New Member
Hi all,

I'm stuck on a bizarre fault our QA team have found with one screen in our application.

We have a screen which displays a webBrowser ocx, when the user clicks on the display of the ocx and presses the delete key it kills the progress session!

If anyone has any ideas why this is happening I would be very grateful if they would share it with me.

TVM,
O.
 

Luke Gardiner

New Member
I made a button ocx and got "Catastrophic Failures" when I tried to delete the button on its Click Event. This was due to the fact that at the time the ocx still had code to perform after it raised the event, however since it had been deleted on the raising of the event, any code left to run was now no longer in memory and hence a memory access error occured. Maybe something similar is occuring, and you might have to somehow return on the event and then delete later.
 

okjjvam

New Member
Thanks Gabor,

That explains a lot, our QA rigs (replicating our live applications) are at SP5, the development rigs are on SP8!
 
Top