|
-
Aug 6th, 2001, 01:22 PM
#1
Thread Starter
Junior Member
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.
-
Aug 6th, 2001, 01:51 PM
#2
Lively Member
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.
-
Aug 6th, 2001, 02:03 PM
#3
Thread Starter
Junior Member
Thank you, JDYoder!
Acutally, I've never seen that 'Add.Path' thing before, but it seems better than what I did, ThanX a lot!
-
Aug 6th, 2001, 02:16 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|