Hi All,
I am using Excel.Application object in my code. Now I would like to kill excel.exe created in the task manager.
I am using window API function
Declare Function GetWindowThreadProcessId Lib "user32.dll" _
(ByVal hWnd As IntPtr, ByRef lpdwProcessId As Integer) As Integer
Now I am able to get the process ID of excel.exe when i run this code
in a stand alone page.
When I create a virtual directory and run the page from there,
the process ids returned by this function is zero.
Could anyone pls help.