Wednesday, April 6, 2011

How can I add a button to Windows Explorer. (not to IE)

I want to add a button to Win Exp. toolbar and run a script file with the button. How can I do it in Delphi? Or may be Win API?

From stackoverflow
  • Yes, all you need is to write a toolbar for Explorer :). There are a lot of articles about implementation of the toolbar:
    one
    two
    three
    four (in delphi)

    gabr : Windows Explorer, he said. Not Internet Explorer.
    zihotki : gabr and SimaWB, First of all toolbars for IE and Windows Explorer are almost the same. And if you look at the first link more attentive you will see that the target there is Windows Explorer. Toolbars for IE and WE uses the same BandObject's.
    zihotki : Also if you install toolbar for IE you will be able to see it in WE too via View->Toolbars. So all information that you need to create a button and add it to WE is provided or you prefer full complete step-by-step guide for your case?
    SimaWB : Thanks zihotki. But I don't want to create new toolbar. Only add new button to Standart Toolbar of WE. But may be I must add new toolbar for quick solution.
  • Perhaps the Shell+ (ShellPlus) components could help with this? (Not proven myself -- just a thought to research). I do believe they will let you add a new toolbar, at the very least, modify the right-click menu. What kind of script are you needing to run?

    SimaWB : Thanks Jamo. I want to run my program with the button. Or run Command Prompt.

0 comments:

Post a Comment