Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27351

VS 2013 Detect Not Responding + Force Close + Restart App

$
0
0
I have been looking around and the best thing I could find was this but it has errors and I'm also confused how I can have it determine which application it's checking they don't have the best notes.

I'm getting the error on the function of this line of code.
Code:

lReturn = SendMessageTimeout(lHwnd, WM_NULL, 0&, 0&, SMTO_ABORTIFHUNG And SMTO_BLOCK, lWaitTimeOut, lResult)
I dunno if this is even at all the right way of going about doing something like this. If possible can someone please help me out with this by either fixing this code or proving a better one. Thanks in advance.

Viewing all articles
Browse latest Browse all 27351

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>