VB wont let me declare the stuff that it says to in the tutorials for some strange reason.......
Compile Error:
Constants, fixed-length strings, arrays, user-defined types and declare starements not allowed as public members of object modules.
Printable View
VB wont let me declare the stuff that it says to in the tutorials for some strange reason.......
Compile Error:
Constants, fixed-length strings, arrays, user-defined types and declare starements not allowed as public members of object modules.
Put that code in a module.
Or declare it as Private, e.g:
Code:Private Declare Function...