dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: How to pass folder name as arguments when call an applcation on right click any fold

  1. #1
    Join Date
    Jan 2010
    Posts
    1

    How to pass folder name as arguments when call an applcation on right click any fold

    Hi
    I have develop an application using C# dot net. I have called this application on
    right click on any folder.Now I want pass full path or Name of the folder whose right click called my application.
    Please help me.To get the folder name or path on right click on folder in C#
    Thanks

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: How to pass folder name as arguments when call an applcation on right click any

    I think you have registred you app unde HKCR\*\Shell\Open...\Command, where you fill in path to you .exe. Append %1 after it and it should append full path to the item on which you have performed the righ click.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)