I've made a little icon viewer, associated to the ".ico" extension.
But how can I get the filename of a clicked icon file (in the explorer for example), to open my app whith it (in the form_load)?
Thank you...
Printable View
I've made a little icon viewer, associated to the ".ico" extension.
But how can I get the filename of a clicked icon file (in the explorer for example), to open my app whith it (in the form_load)?
Thank you...
Command() returns the parameter string passed to your program... Give it a try!
Sub Form_Load()
DoSomethingWithIcoFile Command()
End Sub