The simplest workaround I suppose would be to pass the file name as an argument to the program.
And so, in a folder could be many files with their shortcuts, inside the shortcuts would be the link to the file and the file name as an argument.
Not the right way... but it works for sure.
Quote:
|
It is easy to get the actual filename on the desktop
|
Could I ask how? Thanks in advance.
I have searched and found informations about this here:
An Introduction to P/Invoke and Marshaling on the Microsoft .NET Compact Framework
To find the solution would take me around a week... for the moment I choose the first way.
Best regards,
Ionut Ojica