|
-
Jun 30th, 2005, 11:20 PM
#1
Thread Starter
Hyperactive Member
Private Declare Function
Private Declare Function IcmpCreateFile Lib "icmp.dll" () As Long
Thier is a the line of code thats giving me Trouble I have a few other lines Similar to that one with "Private Declare Function"..
When i go too Debug and Hit Run I get the Following Error Message:
Comple Error:
Only Comments may appear after End Sub,End Function,or End Property
Can someone help me with this problem please,Greatly Appreciated..
Thxs in Advance...
-
Jul 1st, 2005, 02:37 AM
#2
Re: Private Declare Function
Yeah - put it at the top of the module (under the option explicit - but before your first subs/functions.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|