Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declaring Function compiling error
Message
From
16/11/2000 14:52:53
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Declaring Function compiling error
Miscellaneous
Thread ID:
00442854
Message ID:
00442854
Views:
39
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
Map
View

Click here to load this message in the networking platform