Delete desktop icon with VBA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Desktop icon can be created with VBA. Does anyone have the VBA code for deleting a desktop icon?
 
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 >
 
Back
Top