-
I know how to decode which files the user has selected when my application is called using the right click in Windows Explorer and "Send To" (Using Command()).
I know how to decode which files the user has selected, when they are dragged and dropped onto my application from Windows Explorer (check for Data.GetFormat(15) and use Data.Files(i) to find each one).
BUT . . . .
How do I find out which files were selected in Windows Explorer if all the user has done is to Alt Tab into my application??
I have searched many places and many books, but I have not seen anything that shows what files are currently selected within Windows Explorer.....
Thanks for any suggestions,
Chris
-
No answers??
Does this mean that I have asked a question that has stumped everyone?? Or have I asked a question that is not understood??
The question:
How do I find out which are the currently selected files in Windows Explorer?
-
I don't think you can.
Can't you use a listview control in your app, why do you need to do this in the win explorer?
-
Thanks.
Its not "doing it IN Windows Explorer" that I want.
Instead I want to know what the user was doing (e.g. what files they had selected) in Windows Explorer just before calling my app.
I want to be able to process those files.
Its an app that :
a) wants to know what the previous application in use was (Outlook, Word, Excel or Windows Explorer).
b) Does something with the selected items in that previous application.
The Excel, Outlook and Word are all working OK - but I can't find out what files the user had selected in Windows Explorer.
Cheers, Chris
-
http://www.vb-world.net/tips/tip503.html
is a link where you can use the windows find menu.
Hopefully this should help you out as you can fins adll filoes modified in the last day like this...
-
Thanks for that link - I need something like that for another part of the development.
But, it doesn't answer the original question (which might not have an answer??) as the user might not have modified the files. All I know is that they have selected them.
Cheers, Chris
-
Oh....okay, just reread your question and understood what you are trying here.
Not sure I can help with this one, sorry :(