Mega Code Archive

 
Categories / Delphi / System
 

A tip for placing new links on desktop

Title: A tip for placing new links on desktop I've read several articles about this problem, and each of them use ishelllink object, to which they give the .setarguments method to give path and filename. It gives the string, as they say. Well, i tried it, the string has two parts: path+filename + + arguments. So if you use only the .setarguments method, your link won't work, because it starts with a space! use the .setpath(PChar(path+filename)) method instead... hope it works for you all..