Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I remove an old version Start Menu item during in
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00522162
Message ID:
00522345
Views:
8
>I am installing an upgraded VFP program with a new name, but the old Start Menu entry remains with the odl name, so now I have two. How do I programmatically remove an old entry from the start menu when I install a new program with a different name and/or icon?

Just delete the lnk file. You can remove the Program menu item by simply deleting the folder. In order to do this properly, you'd need to resolve the location of these special folders (Start Menu, Programs, etc.) To do this you'd use something like the WScript.Shell object in the Windows Script Host or a DLL like my Lnkfiles.dll from the download section.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform