CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Join Date
    Sep 2005
    Posts
    8

    Context Menu (Send To) Modifiction

    Hi all,

    I would like to add an option such that when I right click on a file, a new item exists 'post to yousendit.'

    This option will then post the file to yousendit (http://www.yousendit.com) and a link is returned that hosts the file.

    yousendit.com only requires the 'select file to send' field be populated.. so i'm wondering how difficult this is or how to get started? I wasn't sure what forum to post this message on, so I thought I would start with General Discussion and this board.

    Thanks so much.

  2. #2
    Join Date
    Sep 2005
    Posts
    8

    Context Menu Modification

    Hi all,

    I would like to add an option such that when I right click on a file, a new item exists 'post to yousendit.'

    This option will then post the file to yousendit (http://www.yousendit.com) and a link is returned that hosts the file.

    yousendit.com only requires the 'select file to send' field be populated.. so i'm wondering how difficult this is or how to get started? I wasn't sure what forum to post this message on...

    Thanks so much.

    Edit: I posted this on another board, so this should be removed.
    Last edited by jinen; September 7th, 2005 at 01:42 PM.

  3. #3
    Join Date
    May 2004
    Location
    MN / NJ, United States
    Posts
    768

    Re: Context Menu (Send To) Modifiction

    Quote Originally Posted by jinen
    I thought I would start with General Discussion and this board.

    Thanks so much.
    Well, I'm not exactly sure how to go about this, but I can say that you aren't supposed to be deliberately posting messages twice. Moderators will chat. and eventually determine where you are best off getting help, both the best, and the quickest.

    Anyway, I'm not sure exactly where to start, maybe someone else can provide a lead ...
    *9-11-01* Never Forget; Never Forgive; Never Relent!
    "If we ever forget that we're one nation under God, then we will be a nation gone under." - Ronald Reagan

  4. #4
    Join Date
    Jul 2004
    Location
    Holy Land
    Posts
    306

    Re: Context Menu (Send To) Modifiction

    Hey There,

    I found a page on the internet, that explains how to do exactly what you want...

    Your idea sounded interesting to me, so i tried it myself, and it worked...
    If you'll have any trouble with it... I'm here...

    The link is : Customizing Right-Click Menu
    Rate this post if you found it useful!
    10X, gilly914

  5. #5
    Join Date
    Sep 2005
    Posts
    8

    Re: Context Menu (Send To) Modifiction

    DR. Script - Thanks I will remove my other posts then. I didn't mean to break any rules/guidelines.

    Thanks gilly914, I'm going to give it a shot, i'll let you know how it goes!

  6. #6
    Join Date
    May 2002
    Posts
    10,943

    Re: Context Menu Modification

    This could be a mixture of a number of languages. In order to have the option "YouSendIt" in the right-click menu, you will have to add this to the registry for each file name or doing it through "file types" under "folder options" in windows. If you want to add it to the registry it will take time but here is a link.
    http://www.jfitz.com/tips/rclick_custom.html
    You could also use the SendTo feature by pasting a shortcut into the "SendTo" folder under your Windows User profile. The shortcut then would link to a script that would insert that files path into the input box at YouSendIt.com.

    Either way this could be an in-depth process.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  7. #7
    Join Date
    May 2002
    Posts
    10,943

    Re: Context Menu (Send To) Modifiction

    I replied to this thread in General Windows and DNA Programming. Dr. Script, are you able to move my reply to this board and delete that other thread?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  8. #8
    Join Date
    Sep 2005
    Posts
    8

    Re: Context Menu (Send To) Modifiction

    gilly, peejavery: now that i am able to add the selection option - what do you suggest i actually use to create an application that submits the file via yousendit??

  9. #9
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503

    Re: Context Menu (Send To) Modifiction

    merged threads... but i really wonder whether this post belongs here...
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

  10. #10
    Join Date
    May 2004
    Location
    MN / NJ, United States
    Posts
    768

    Re: Context Menu (Send To) Modifiction

    I don't know ... you make the call
    All I know is that they are all on the same page, and progressing.
    *9-11-01* Never Forget; Never Forgive; Never Relent!
    "If we ever forget that we're one nation under God, then we will be a nation gone under." - Ronald Reagan

  11. #11
    Join Date
    Jul 2004
    Location
    Holy Land
    Posts
    306

    Smile Re: Context Menu (Send To) Modifiction

    I would simply load the URL in an Explorer window, with the needed variables passed through the address...

    And then the file will be automatically sent, and you will only see the success message...

    Good Luck
    Rate this post if you found it useful!
    10X, gilly914

  12. #12
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503

    Re: Context Menu (Send To) Modifiction

    Jinen, Please tell us about your development language and platform, so that your post is located in the most appropriate forum and you will get more valuable feedback.

    dr.Script. please keep an eye on this post...
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

  13. #13
    Join Date
    Sep 2005
    Posts
    8

    Re: Context Menu (Send To) Modifiction

    Thanks gilly914. I am trying to determine how to pass the 'filename' argument via the URL for yousendit... but can't seem to figure it out.. for example, i know that if i type

    http://www.yousendit.com/[email protected], then that will populate the recipient field, but not sure about filename..

    andy/dr: i'm open to use any language/script that people suggest, but i am probably most familiar with java...tho i'm not sure if that's the way to go to do this..?

    thanks!

  14. #14
    Join Date
    May 2002
    Posts
    10,943

    Re: Context Menu (Send To) Modifiction

    Quote Originally Posted by jinen
    gilly, peejavery: now that i am able to add the selection option - what do you suggest i actually use to create an application that submits the file via yousendit??
    The big problem is that it used a POST action and not a GET action. If it was GET then it could easily be coded.

    Code:
    http://www.yousendit.com/[email protected]
    The "[email protected]" is a form of GET. The command "gets" a line out of the URL. POST actually puts it in storage on the server and this cannot be read in an easy manner. How did you find out that it was "recipient" you should be able to figure out the "file" part as well. Let me know. From there, we can see how to code this.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  15. #15
    Join Date
    Jul 2004
    Location
    Holy Land
    Posts
    306

    Re: Context Menu (Send To) Modifiction

    Yep...
    You have a problem...

    At yousendit, they used a POST form, meaning you cannot send the website your own variables through the URL...

    Maybe there's some other way to do it...

    Sorry...
    Rate this post if you found it useful!
    10X, gilly914

Page 1 of 2 12 LastLast

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured