When this code:
Public Declare Function BringWindowToTop Lib "user32" _
Alias "BringWindowToTop" (ByVal hwnd As Long) As Long
Shows the error:
Constants, fixed-length strings, arrays, user-defined types, and Declare statements not allowed as Public members of an object module
Please help me to resolve error