VB - Crash When Clicked  
Author Message
Retread





PostPosted: Mon Apr 26 17:02:36 CDT 2004 Top

Visual Basic >> VB - Crash When Clicked

Hi,

My vb application runs fine while it is run from VB IDE.

However, when an exe file is executed, FEW of the forms crash when user try
to click on any of the form buttons without firing the event i.e. code
behind the button_click event doesn't executed. Program run fine if mouse is
not used for clicking buttons.

Strangely it doesn't happen with all forms. VB Form crashs in all windows
from 98-2003 but doesn't crahes only in Windows 2000 Datacenter.

My VB Application uses TextControl, buttons and MSFlexGrid.

It doesn't use any mouse events other then button_click event :(.


Warmest Regards,

Digitally Yours,
___________________

Anis


Visual Studio182  
 
 
Bonj





PostPosted: Mon Apr 26 17:02:36 CDT 2004 Top

Visual Basic >> VB - Crash When Clicked Could be due to the fact it is subclassed.
MS word on XP always crashes instantly the minute you touch the mousewheel,
like it can't handle the messages. Fine if you don't use the wheel though...



> Hi,
>
> My vb application runs fine while it is run from VB IDE.
>
> However, when an exe file is executed, FEW of the forms crash when user
try
> to click on any of the form buttons without firing the event i.e. code
> behind the button_click event doesn't executed. Program run fine if mouse
is
> not used for clicking buttons.
>
> Strangely it doesn't happen with all forms. VB Form crashs in all windows
> from 98-2003 but doesn't crahes only in Windows 2000 Datacenter.
>
> My VB Application uses TextControl, buttons and MSFlexGrid.
>
> It doesn't use any mouse events other then button_click event :(.
>
>
> Warmest Regards,
>
> Digitally Yours,
> ___________________
>
> Anis

>
>
>