
HELP - I've lost my Event Procedures!!!
On Thu, 17 Nov 1994 12:16:07 GMT,
Quote:
>I have a strange problem in that I am losing event procedures. I am running
>VB 3.0 Prof on a 33MHz 486 8MB machine. I have an application containing
>command buttons and 3Dpanels among others. On one machine the application
>runs no probs however on another machine ( the one described) I have no mouse
>events for command buttons(ie mousemove) and only the Dragdrop and Dragover
>events for the 3D panels.
>At design time, the code written for the other events such as Click for the panels
>sits in a subroutine in the Form general area but is still called <controlname>_Click.
>At run time, the code is simply not accessed on the one machine whereas on the
>other, it runs as said with no problems, using all events.
>I'm baffled and need help. I checked for viruses but have a 'clean machine'
>Stuart
It appears your machine is losing track of the controls not the procedures.
If you delete a control without removing the code VB moves it to the
Declarations area, so maybe you have a naming problem or something which is
causing your machine not to recognize certain controls.
If your buttons are sitting on the 3D panels it may be the panels which are
causing the problem. I once built 3 forms with 3D panels, but when I went
to run the project the controls wouldn't display. There were no errors.
It turned out to be my title bar clock. I removed the clock, rebuilt the
forms and everything worked. I have also run into a computer on which I
couldn't compile an exe because of the Windows clock. I unloaded the clock
and compiled with no problems.
Just a suggestion, some problems can be weird.
--
Leland C. Lewis <<Today is yesterday's future and tomorrow's past>>
ClearView Consultants