Send to option - how to handle in program?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Send to option - how to handle in program?

  1. #1
    Join Date
    Jul 2009
    Location
    Poland
    Posts
    28

    Send to option - how to handle in program?

    Hi there.

    In windows' context menu there is an option "Send to.". I'd like to send a text file (or a few of them) by choosing this option and later my program.exe from the list. How can I handle the process of receiving those filenames within my C++ program in order to open those files afterwards using ifstream?

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,972

    Re: Send to option - how to handle in program?

    I'd say what you need is Open With context menu, but not Send to.
    Best regards,
    Igor

  3. #3
    Join Date
    Jul 2009
    Location
    Poland
    Posts
    28

    Re: Send to option - how to handle in program?

    Is it impossible to do it with "Send to"?

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,972

    Re: Send to option - how to handle in program?

    Best regards,
    Igor

  5. #5
    Join Date
    Jul 2009
    Location
    Poland
    Posts
    28

    Re: Send to option - how to handle in program?

    I was actually wondering how I could receive those filenames within the program, but I forgot to simply test the argv array. It's all clear right now! Thx for help anyway.

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

This is a CodeGuru survey question.


Featured


HTML5 Development Center