Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaring Function compiling error
Message
De
16/11/2000 14:52:53
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Declaring Function compiling error
Divers
Thread ID:
00442854
Message ID:
00442854
Vues:
36
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform