vb.net - how to kill tabtip process after starting it -


i can start tabtip (virtual keyboad) in program reason can't kill it.

this code:

private tabtipprocess process  private sub t_enter(sender object, e eventargs)     tabtipprocess = process.start("tabtip") end sub  private sub t_leave(sender object, e eventargs)     tabtipprocess.kill() end sub 

on line tabtipprocess.kill() error:

cannot process request because process (5312) has exited.

i'v got it:

for each pkiller process in process.getprocesses         if string.compare(pkiller.processname, "tabtip", true) = 0             pkiller.kill()         end if     next 

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -