Re: Procedure won't exit, EXE hangs

Tech-Archive recommends: Fix windows errors by optimizing your registry



While I haven't experienced any problems myself, I've heard there are a
number of problems with SP6. You may want to try reverting to SP5 and see
if that solves your problem.


Rob

"Brian" <Brian@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1AAAFD5B-13C1-4DA6-A8BE-1E19E1C127BD@xxxxxxxxxxxxxxxx
> Hi,
>
> I have created a custom ActiveX control for an application. This control
> is
> on the main form of the program and works fine. I recently added it to a
> usercontrol that I have put on the main form as well. The control looks
> like
> a combo box, but has enhanced features. The problem is that the click
> event
> of the control won't exit correctly, causing the whole application to
> hang.
> Everything works for a few clicks, but the problem always occurs within a
> few
> clicks. This does not occur if you run the application from code. It
> only
> occurs in the compiled exe. If you put a message box just before the
> exit,
> the problem does not occur (in the exe). I have tried DoEvents calls, but
> this does not help. The original control that was placed directly on the
> main form works fine, so I tried taking the usercontrol's instance of the
> control and moving it to the main form. The problem still occurred.
>
> I am using VB 6 SP6. Any suggestions would be more than welcome. Thanks.
>
>


.



Relevant Pages