Try this API fuction. It will return the app's handle if the specified title/classname is found
Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
· hwndParent...
Ok thats really usefull thanks! Wasn't aware of that function (just upgraded from VB5).
The CallByName function is all well and good for Forms and Class Modules, but what about standard code modules???
HELP!
Is there anyway to use the contents of a string variable to call an internal function or refer to a variable??
eg,
exampleString="exampleFunction(param)"
Function exampleFunction(param AS Any)
<bla bla bla>
End Function
can i use some function/API call to use the contents of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.