Hi all. Is there some API or standard function to call to retrive the current name of the program running? Something like GetCurrentProcessId(), maybe something like GetCurrentProgramName() or something of the sort. Google and Yahoo dont seem to help and i dont know where to begin this sort of search. Any suggestions? Thanx in advance.