Hi, I visited this website,I took the code and wrote it in my database,even in VB, but it's not working OK,I can only Log Off but can't shutdown,reboot or Forse to Shutdown
Thanks in Advance for your help
I am not sure if this is helpfull,but I think it's worth trying these lines
private function Exists(tblToSearch,varToSearchFor,fieldName) as boolean
dim rst as new adodb.recordset
with rst
.cursorlocation=aduseclient
.open tblToSearch,currentproject.connection,adopendynamic
.find...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.