Results 1 to 6 of 6

Thread: Drag and Drop

  1. #1

    Thread Starter
    Addicted Member DKasler's Avatar
    Join Date
    Jan 2005
    Location
    Brooklyn, NYC
    Posts
    177

    Drag and Drop

    I have a file list box called file1 and I want to be able to drag a file name from there to an upload box on a website rather than having the user click the browse button and search for the file...

    Ive never done anything with drag and drop before so a sample would be nice if it can be provided.

    Thanks Much
    -----MY SITES-----
    BayRidgeNights.Com - NYC Nightlife Forums

    Fight Communism - Rate Posts!

  2. #2

    Thread Starter
    Addicted Member DKasler's Avatar
    Join Date
    Jan 2005
    Location
    Brooklyn, NYC
    Posts
    177

    Re: Drag and Drop

    *bump*
    -----MY SITES-----
    BayRidgeNights.Com - NYC Nightlife Forums

    Fight Communism - Rate Posts!

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Drag and Drop

    Here is an example that I know does as you wish. You might be able to send it to the webpage using SendMessage. Is it your webpage?
    Attached Files Attached Files

  4. #4
    Lively Member _-Rs-_'s Avatar
    Join Date
    Aug 2009
    Posts
    84

    Re: Drag and Drop

    Well Guys i know how to do the drag and drop and get the path of the file but as dglienna bro said

    "send it to the webpage using SendMessage. " <--- how do we tell vb6 to sendmessage to the website to upload the file by the path we give ????
    Last edited by _-Rs-_; Jun 9th, 2010 at 10:33 AM. Reason: Made a new thread sorry for the mistake T_T


  5. #5
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Drag and Drop

    You should start your own thread if you have a question, and link to the old one if you want to comment on something related.

    I'm guessing dglienna meant to send the path to a field from which the webpage would take it and upload it (like you have in Yahoo mail when attaching files). But there are many different ways to upload a file, and it depends on the server side too.

  6. #6
    Lively Member _-Rs-_'s Avatar
    Join Date
    Aug 2009
    Posts
    84

    Re: Drag and Drop

    Quote Originally Posted by baja_yu View Post
    You should start your own thread if you have a question, and link to the old one if you want to comment on something related.

    I'm guessing dglienna meant to send the path to a field from which the webpage would take it and upload it (like you have in Yahoo mail when attaching files). But there are many different ways to upload a file, and it depends on the server side too.
    I'm sorry for the mistake bro i will make my own thread thanks


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