-
1 Attachment(s)
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:/'
-
1 Attachment(s)
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.
-
Thank you, JDYoder!
Acutally, I've never seen that 'Add.Path' thing before, but it seems better than what I did, ThanX a lot!
-
1 Attachment(s)
Is something like the attached what you are looking for?