I have the functions below:
Expand|Select|Wrap|Line Numbers
- Private Sub lstFolders_DblClick()
- 'Call FunctionToListFilesInThisFolder
- End Sub
- Private Sub lstFiles_DblClick()
- 'Append the filename selected into a textbox
- End Sub
When I run my program, it says:
Compile Error:
Procedure declaration does not match description of event or procedure having the same name.
And it highlight at my "Private Sub lstFolders_DblClick() " line
I double check the name of my listbox object and my coding, they are the same. I've also tried "Private Sub lstFolders(Cancel As Integer)" as suggested by some websites, but still it doesn't work.
What's the problem here? Is there anything wrong with my listbox?
Thanks.
Smoi