Hello
Is there any way I can hook a user clicking a drive in My Computer, and when they do instead of opening the drive it opens my app.
I think that way would be easier then putting an icon off my app in my computer? Or no?
Thanks for any help.
Printable View
Hello
Is there any way I can hook a user clicking a drive in My Computer, and when they do instead of opening the drive it opens my app.
I think that way would be easier then putting an icon off my app in my computer? Or no?
Thanks for any help.
Probably not worth the effort. This would be tough to make work on the new OS's and the older OS's at the same time.
What effect were you hoping to achieve? It may be easier to hook FS calls than GUI events.
I wanted to add an icon to my computer. That the user would click on and it would open a file explorer.Quote:
Originally Posted by wossname
But, yea, I figured adding the icon would be hard.
Hopefully someone know's a way it can be done though.
Yes its possible, but is not a trivial piece of code you can just grab off some website.
Really? I searched google hard, and found nothing.Quote:
Originally Posted by wossname
He said it's NOT a trival piece of code you can just grab off a Web site. The usual way to accomplish something like this would be to add a shell extension so the user can right-click a drive and select a menu option to use your app to explore it. I don't pretend to know how to do that but that would be the "proper" way to do it.
Oh, I mis read.
Here is how I may do it. My app will run in toolbar.
When you click on a drive in My computer it shows a window caption. Well, I think i will just keeping searching for that active wonow, and when found, kill it. then bring up my window.
It is sloppy, and lazy way out. But, the only way i know.
Like I said, you should create a shell extension. It's up to you but it's not hard to go to MSDN and search for "shell extension".