G Guest May 26, 2004 #1 Desktop icon can be created with VBA. Does anyone have the VBA code for deleting a desktop icon?
K keepitcool May 26, 2004 #2 if the icon is a shortcut... just delete the ".lnk" file from the current user's desktop folder. (or from the "allusers" profile if the icon is a classed item (like the outlook desktop item) you'll have to manipulate the registry. You'll have to be carefull though.. a lot of adminstrators will set policies on desktop manipulation. keepITcool < email : keepitcool chello nl (with @ and .) > < homepage: http://members.chello.nl/keepitcool >
if the icon is a shortcut... just delete the ".lnk" file from the current user's desktop folder. (or from the "allusers" profile if the icon is a classed item (like the outlook desktop item) you'll have to manipulate the registry. You'll have to be carefull though.. a lot of adminstrators will set policies on desktop manipulation. keepITcool < email : keepitcool chello nl (with @ and .) > < homepage: http://members.chello.nl/keepitcool >