We (Rockwell) have created a new version of a previously existing application,which we also created. The problem that this new version is in a new location on the client's hard drive.
I wondering if there is a way to check if a user has placed a shortcut of the old App on his/her desktop. If they have I would like to make it point to the new App, or delete it and put a new one in its place.
I has been suggested that "A shortcut on the desktop is mearly a .LNK file in the c:\windows\dektop directory. Open each of the .LNK files in that directory and check to see if they point to your program. "
The problem with that is. What if the computer has mutilple users logging in. For example, I login under two different names on our network depending upon what task I want to perform. The reason is that one of my logins has access that the other doesn't. Anyway, on my computer in c:\windows\desktop it shows the Desktop of the the default login, not the Desktop of either of my two logins. I think It must be done threw windows api, but I just don't know the commands.