Hello,

I don't know why I got the error.
Code:
EntryPointNotFoundException was unhandled by user code
Thanks for help.
Code:
Private Declare Function SetForegroundwindow Lib "User32" (ByVal hwnd As IntPtr) As IntPtr
    Private Declare Function GetForegroundwindow Lib "User32.dll" () As IntPtr
    Private Declare Function SetActiveWindow Lib "user32" Alias "SetActiveWindow" (ByVal hwnd As Long) As Long
    Private Declare Function GetActiveWindow Lib "user32" Alias "GetActiveWindow" () As Long
Public Overrides Function Execute(ByVal xmlInput As System.Xml.XmlElement, ByVal oInputValues As System.Collections.IDictionary) As System.Xml.XmlElement
' ....

Dim handler As IntPtr
        handler = GetForegroundWindow() ' Error here
        SetActiveWindow(handler)