A
Aldo Verlinde
This message was posted in the MSDN newsgroep vb.winapi earlier. Gale Green
suggested I post it here:
I am using the FileDialog(msoFileDialogFilePicker) object in a home-made MS
Access application to select multiple files for deletion. I've discovered
that when you select a shortcut to e.g. a data file (this is officially
termed a 'shell link', I believe?), the actual SelectedItem returned is the
file the shortcut is referring to, not the shortcut itself. This in itself
is not a problem (I want to delete both the data file and the shortcut), but
I don't seem to be able to select the shortcut itself. How do I get this
working?
Dootje
suggested I post it here:
I am using the FileDialog(msoFileDialogFilePicker) object in a home-made MS
Access application to select multiple files for deletion. I've discovered
that when you select a shortcut to e.g. a data file (this is officially
termed a 'shell link', I believe?), the actual SelectedItem returned is the
file the shortcut is referring to, not the shortcut itself. This in itself
is not a problem (I want to delete both the data file and the shortcut), but
I don't seem to be able to select the shortcut itself. How do I get this
working?
Dootje