Drew Wutka
DWUTKA at marlow.com
Tue Oct 14 16:32:06 CDT 2003
Try this... Public Declare Function DestroyWindow Lib "user32" (ByVal hwnd As Long) As Long Function fDestroyWindow(WindowName As String) On Error GoTo erlevel Dim winHwnd As Long Dim RetVal As Long winHwnd = FindWindow(vbNullString, WindowName) If winHwnd <> 0 Then RetVal = DestroyWindow(winHwnd) End If erlevel: End Function It's probably not the best method.....I know there are API's to kill threads, but this was in an old project of mine, so it was the first thing I had handy. Drew -----Original Message----- From: Mark A Matte [mailto:markamatte at hotmail.com] Sent: Tuesday, October 14, 2003 12:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Alternative to NT TaskManager Hello All, Does anyone know of an API call...or anything similar I can call from A97 to kill a program not responding without using the TaskManager in NT? Thanks, Mark _________________________________________________________________ Concerned that messages may bounce because your Hotmail account has exceeded its 2MB storage limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com