Is there a way to find out the active application? The reason for this is I use the "AppActivate" method in VB, however I the application I activate is already active, my program freezes.