arthur404 0 Newbie Poster

I was asked to write a simple program to display an "Access Denied" pop-up when users attempted to run game programs on their workstations. No problem. Wrote it, installed to the workstations replacing sol.exe, winmine.exe etc. with a renamed version of the .exe. No problem. Now I am asked to create a log of which users attempt to access the games, from which machine and which games. Mostly finished, just can't fugure out how to get the name of the .exe that was originally run from within the program. Since I just renamed the .exe, I'm not sure how to find out what the name of the .exe being run is? Any thoughts?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.