LoadFromFile method
|
acShortcut component.
|
function LoadFromFile(const FileName: String): Boolean;
|
The LoadFromFile method reads the shortcut information from an .LNK file and fills the properties with determined values.
|
|
Alternatively you can read the information from shortcut file just pointing the FileName property to .LNK file. Unlike the LoadFromFile method, the FileName property can be specified either at run- or design-time, so you can play with the component specifying the .LNK files and reading shortcut information even at design-time.
|
FileName property and SaveToFile method.
|