Event Raising

mshahid

Active member
Joined
Aug 23, 2012
Messages
29
Programming Experience
Beginner
I am new in vb. i am trying to develop program that raise event but i found the error Error 1 Name 'Handleoverflow' is not declared. code file is attached.

Thanks in advance
 

Attachments

  • defining class .txt
    1 KB · Views: 32
  • defining Bucket.txt
    1.9 KB · Views: 30
Hi,

I looked at this earlier today and on the basis that you are new to VB this is quite advanced code for you to be dealing with? The reason why it says Handleoverflow is not declared is because of exactly that. There is nowhere in your code that declares a function or subroutine called Handleoverflow and therefore your AddHandler statement cannot ever work.

There is no way for me to guess what Handleoverflow is supposed to do and therefore its probably impossible for me or anyone else to help you.

My advice would be to try and obtain the other code which contains the Handleoverflow routine that you say is in another project and then we may be able to help.

Good luck,

Ian
 
The title of this thread says Event Raising but IanRyder's reply seems to suggest that the issue is event handling. One is production and one is consumption. If it really is event raising that is the issue then you might find some useful information by following the Blog link in my signature and checking out my post on Custom Events.
 
The title of this thread says Event Raising but IanRyder's reply seems to suggest that the issue is event handling. One is production and one is consumption. If it really is event raising that is the issue then you might find some useful information by following the Blog link in my signature and checking out my post on Custom Events.

Many Thanks
 
Back
Top