HELP - I've lost my Event Procedures!!! 
Author Message
 HELP - I've lost my Event Procedures!!!

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



Mon, 05 May 1997 20:16:07 GMT  
 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



Wed, 07 May 1997 05:25:15 GMT  
 HELP - I've lost my Event Procedures!!!

Quote:


>Subject: HELP - I've lost my Event Procedures!!!
>Date: Thu, 17 Nov 1994 12:16:07 GMT
[crnch]
>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.

This means that you've deleted the controls in some phase, then recreated
them. Cut'n paste the event procedure code to where it belongs and retry.

Greetings,

 ----------------------------------------
| I don't believe in a no-win scenario.  |
|               - Admiral James T. Kirk  |
 ----------------------------------------



Mon, 12 May 1997 02:55:43 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help, I've lost my components.

2. Dr GUI, I've lost my debugger and I can't get up

3. Dr GUI, I've lost my debugger and I can't get up

4. I've lost my Beep

5. I've lost my Beep

6. how to get message or Events from the Control you've added before

7. Looking for 'Application Lost Focus' event

8. I've programmed a game that don't work Help

9. Self-referencing a control's name within one of it's event procedures

10. Need help with form I've created

11. Help me, I've a problem

12. Please help i've tried everything else - vb3.0

 

 
Powered by phpBB® Forum Software