|
-
Oct 29th, 2000, 04:59 AM
#1
Thread Starter
New Member
Please help.....
I'm unable to terminate a process in Win95/98 started by the following line of code:
lngTaskID = Shell("rundll32.exe rnaui.DLL,RnaDial " & <strLocation>, vbNormalFocus)
It seems the TerminateProcess-function doesn't have any effect on closing down a connection made to <strLocation>.
Any suggestions?
Thank you!
-
Oct 29th, 2000, 09:49 AM
#2
Member
If you can get the handle of the window you want to close you can use the sendmessage command, with the message wm_close to close the program, if you are trying to close a program that is not visible though, you are looking in the right direction.
Grant French
-----------------------------------------------
E-Mail: [email protected]
ICQ: 33122184
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|