Results 1 to 4 of 4

Thread: Difficult Drag and Drop Q

  1. #1

    Thread Starter
    Lively Member Bios's Avatar
    Join Date
    Nov 1999
    Location
    Richton Park, IL, USA
    Posts
    71

    Post

    ok...I asked this before, but no one seemed to know how to do it. So I'll ask again in hopes that someone who does know how to do it will see this, an help me.

    I need to know how to drag something from the form to the desktop...All I need is to start a drag...like with object.drag or API. Then detect where (outside of the window) it is dropped. I need to be able to drop it in a folder in windows or on the desktop, and then have a function (probably using subclassing, I'm guessing) return the path of where it was dropped.
    Bios
    Age: 17
    Languages: (Q)BASIC, Visual Basic, Dark Basic,C/C++, Visual C++, Perl, Java Script, HTML, ASP

    "DO:BEEP:LOOP"

  2. #2

    Thread Starter
    Lively Member Bios's Avatar
    Join Date
    Nov 1999
    Location
    Richton Park, IL, USA
    Posts
    71

    does anyone know how?

    Does anyone know how to do this?

    I know it can be done, but still haven't figured it out, and I know it can't be too hard.
    Bios
    Age: 17
    Languages: (Q)BASIC, Visual Basic, Dark Basic,C/C++, Visual C++, Perl, Java Script, HTML, ASP

    "DO:BEEP:LOOP"

  3. #3
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    My VB is down right now, so i can't test it, but try the OLEDragDrop property for the object you want to try, and use the Drag? Event to return the path.
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  4. #4

    Thread Starter
    Lively Member Bios's Avatar
    Join Date
    Nov 1999
    Location
    Richton Park, IL, USA
    Posts
    71
    nope...that didn't work OLE will allow me to drag files from a folder to my program, but as far as I can tell not from my program, and return where it was dropped like I wanted..
    Bios
    Age: 17
    Languages: (Q)BASIC, Visual Basic, Dark Basic,C/C++, Visual C++, Perl, Java Script, HTML, ASP

    "DO:BEEP:LOOP"

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