Here is something that does not make sence to me at this moment. On a form I have a button and all I want it to do is end the program. I put in the code that I thought would work and it fails with an error "Method or data member not found" and then is highlighted on the button Click. Code follows:
Private Sub CloseProgram_Click()
From what I can see this is about as simple as can be. But why wont it work. From what I can remember from versions 4 and 5 all I had to do was put in me.close in a command button click event and the program would end. But this one fails. I am confused as to why? BTW this is done in VB6.0 Pro.