Announcement

Collapse
No announcement yet.

How to?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Gösta H. Lovgren-2
    replied
    Scott, am using XP.

    Okay, Dave, got the same results here. Clever. What's neat is that the effect is immediate. No need to rerun Explorer (actually I use Explorer Plus).

    Now to figure out something useful for it. {grin}

    ======================================================
    "I am become death,
    shatterer of worlds."
    Robert J. Oppenheimer (1904-1967)
    (citing from the Bhagavad Gita,
    after witnessing the world's first nuclear explosion)
    ======================================================

    Leave a comment:


  • Scott Slater
    replied
    Worked fine under Vista too, but only after the manifest was added.

    Any code around to also add an icon with your text to these menus?

    Leave a comment:


  • Dave Biggs
    replied
    I'm missing something here. Just what is supposed to be happening?
    Here's what I see on my machine (WinXP - no manifest), after using the "Add right-click to "Windows Explorer" for .Exe files" button...
    Open a folder window and right click a file with .exe extension, you should see a new item in the popup menu = "Windows Explorer - Right-click".
    If you click that new menu option, a new instance of Pierre's app is opened, this one has the path of the subject file added to the "%L = " label at the bottom of the window.. cute!



    Remove the new right click option by using the same button again (now titled Clean registry for "Windo...etc")
    Attached Files

    Leave a comment:


  • Scott Slater
    replied
    Originally posted by Gösta H. Lovgren-2 View Post
    Pierre,

    I just tried your code (don't recall seeing it before. Missed it first time round, I guess). I don't see anything happening. Clicking the buttons, then running Explorer, there seems to be no change in either of the RightClick menus in Explorer.

    I'm missing something here. Just what is supposed to be happening?
    Are you running Vista? If so it definitely needs a manifest with ADMIN rights.

    Leave a comment:


  • Gösta H. Lovgren-2
    replied
    Originally posted by Pierre Bellisle View Post
    Tryone,

    Here is one piece of code that may help.
    Note that you'll have to incorporate an
    Administrator manifest if you want it to work under Vista.

    Windows-Explorer context menu
    Windows-Explorer context men, run as Admin. Show how to add right-click context menu option in "Windows Explorer" for drives, folder, files and .exe-files. As usual, use at your own risk. [/URL][URL=filedata/fetch?id=773260&d=1529864329]Click image for larger version Name: ContextMenu.png Views: 63 Size: 14.1 KB

    Pierre,

    I just tried your code (don't recall seeing it before. Missed it first time round, I guess). I don't see anything happening. Clicking the buttons, then running Explorer, there seems to be no change in either of the RightClick menus in Explorer.

    I'm missing something here. Just what is supposed to be happening?

    (Oh, and please be kind. While not my first post, I am still very sensitive {grin}.)

    ====================================================
    He that is of the opinion money will do everything
    may well be suspected of doing everything for money.
    Ben Franklin
    ====================================================

    Leave a comment:


  • Scott Slater
    replied
    Any examples of how to get these newly added items on the context menu to have separators around them?

    Any examples of how to add an icon with the item?

    Leave a comment:


  • Cliff Nichols
    replied
    I agree Tyrone,
    Unless you find some need for your niche (aka, unless you start feeling that need to support it because users demand it), then forget VISTA

    From time to time I ask about VISTA but only because I want to prepare for the stage of "What IF???"....but to date only a handful if not less customers that demand such level

    Hopefully it will die out much like ME did, but you always have to prepare for the unexpected

    Leave a comment:


  • Tyrone W. Lee
    replied
    Thanks!

    Vista sucks.. I really won't worry about that OS. (I'll go Linux if 2K/XP become the minority)

    Leave a comment:


  • Pierre Bellisle
    replied
    Tryone,

    Here is one piece of code that may help.
    Note that you'll have to incorporate an
    Administrator manifest if you want it to work under Vista.

    Windows-Explorer context menu
    Windows-Explorer context men, run as Admin. Show how to add right-click context menu option in "Windows Explorer" for drives, folder, files and .exe-files. As usual, use at your own risk. [/URL][URL=filedata/fetch?id=773260&d=1529864329]Click image for larger version Name: ContextMenu.png Views: 63 Size: 14.1 KB


    Mike Stefanik's manifest code
    User to user discussions about the PB/Win (formerly PB/DLL) product line. Discussion topics include PowerBASIC Forms, PowerGEN and PowerTree for Windows.

    Leave a comment:


  • Dale Yarker
    replied
    Do you mean like READONLY and HIDDEN?

    Leave a comment:


  • Tyrone W. Lee
    started a topic How to?

    How to?

    How do I add a property to the File Explorer Right click options? I've seen this done with VB activeX. Anyone created a simple module/function to do this with PB and maybe associate at it with an EXE.

    (Sorta like .ZIP does) - I don't really have a use for it, but I want to add this to my code library. Anyone willing to trade code library snippets can feel free to email me.

    [email protected]

    Tye
Working...
X