Results 1 to 4 of 4

Thread: Can anyone correct this?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Location
    Somewhere out in space
    Posts
    24

    Question Can anyone correct this?

    I've been asking this around since yesterday, and I got a couple of nice responds, but I still haven't figured it out.
    So, here I attatched the file that I was working on.
    Please, tell me what's wrong with the code.
    What I wanted to do was drag an image from a picturebox and drop it to a blank picturebox.
    I'll appreciate any opinions or answers.

    * icons folder should be located in 'c:/'
    Last edited by lavdatedominvm; Aug 6th, 2001 at 01:34 PM.

  2. #2
    Lively Member
    Join Date
    Aug 2001
    Posts
    72

    Try This...

    Download the attached form and use it. This is what I did...

    Selected all the Picture1 controls and set the DragMode to Automatic. I then added the code you see in the Picture2_DragDrop and removed your Picture1_DragDrop completely.

    Also, as a side note, I change all your icons paths to begin with App.Path which is the folder you run your code from. If you need to change it back, go ahead, but App.Path is usually better than hardcoding a path.

    Hope this helps.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Location
    Somewhere out in space
    Posts
    24

    Thank you, JDYoder!

    Acutally, I've never seen that 'Add.Path' thing before, but it seems better than what I did, ThanX a lot!

  4. #4
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141
    Is something like the attached what you are looking for?

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