General information
Category:
Coding, syntax & commands
Title:
Declaring Function compiling error
Hi
I am declaring this API function in Form_Load event.
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _
hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _
lParam As Any) As Long
when I run the form I get the following error:
Compile Error:
Only comments may appears after End Sub, End Function or End Property
That error makes no sense to me whatsoever, what causes it???
Thanks you
Mo
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only