I want to get the name of the:
- current project
- current form
- current module
- current function
- current procedure or method.
where I am working
How can I do to get it?
I think this can be done with API
thanks and regards
Printable View
I want to get the name of the:
- current project
- current form
- current module
- current function
- current procedure or method.
where I am working
How can I do to get it?
I think this can be done with API
thanks and regards
To get the current form or application that has the focus, you can use the GetForegroundWindow or GetActiveWindow API functions.
VB Code:
Private Declare Function GetActiveWindow Lib "user32" () As Long Private Declare Function GetForegroundWindow Lib "user32" () As Long