Results 1 to 6 of 6

Thread: Drag & Drop

  1. #1

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Drag & Drop

    Hi all,

    In my ZIP Archiver, I can add files to an existing ZIP file on the click of a button. I have already created File Association so that on clicking on a ZIP file, my application launches and file is extracted. Now, I want the functionality to drag a file on desktop or any shell editor, such as windows explorer and when its dropped on a zip file, file should be added to the zip file on which it is dropped. I need some help about passing filenames of dragged and dropped files which files are dragged and dropped only on zip file.

    Any ideas ??

    Thanks.

  2. #2
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  3. #3

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308
    Thanks BuggyProgrammer.

    I saw the post and also contacted JordanChris for help but unfortunately I am unable to get some actual help or code. Can anyone help with some code or reference for this problem ??

  4. #4
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    so the files are dropped onto another file?

    it should be stored in

    Command$()
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  5. #5

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308
    But how will my application be launched when files are dropped on .zip file ??

  6. #6
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    now that just got more complicated

    i don't know, but looking through the registry there is a

    shellex
    |--DropHandler

    which allows the file to be 'dropped' on. maybe you can start from there.

    it could get really hard to really easy. search google im pretty sure you'll get something. (shell extensions)
    Remember, if someone's post was not helpful, you can always rate their post negatively .

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