Ok what I'm trying to do is if someone is banned, I want the messagebox to appear and terminate the process (.exe). It works fine for me, but not for others... and I can't figure out why. What happens to others when they get banned is the messagebox appears and says you have been banned but the program still loads after that. I don't want it to. I want it to be closed/terminated if you're banned.VB Code:
If banned = True Then MsgBox "You have been Banned!", vbInformation + vbOKOnly, "Error" TerminateEXE "ProgramName.exe" End If
I can't figure out the problem because it works fine for me but doesn't for others.
What am I missing or doing wrong?




Reply With Quote