![]() |
SOLVED: Drag & Drop from Windows Explorer |
Post Reply ![]() |
Author | |
McKloony ![]() Senior Member ![]() ![]() Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
![]() ![]() ![]() ![]() ![]() Posted: 08 July 2008 at 12:01pm |
In keeping with the contribution of https://forum.codejock.com/forum_posts.asp?TID=10986 (Point 4.) I'm looking for a sample, how to drag a file from the windows explorer into a report control. The only thing i want to do is, to fire the drop event and to get the fullpath of the file then.
|
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
Peter59 ![]() Groupie ![]() Joined: 19 July 2007 Status: Offline Points: 61 |
![]() ![]() ![]() ![]() ![]() |
Hi Marcus,
it's not a miracle to get your problem solved: - set property OLEDropMode to xtpOLEDropManual - call EnableDragDrop method - handle OLEDragDrop event to get the dropped files (filenames) See attached sample uploads/20080709_064423_DropFilesToRepo.zip. If your issue is solved, please add SOLVED in your Topic description and have a look at post http://forum.codejock.com/forum_posts.asp?TID=11225 @Aaron: Do you think this sample is a candidate for the Code Snippets forum? Let me know... Product: Xtreme SuitePro (ActiveX) version 11.2.2/12.0.1 Platform: Windows 2K Language: Visual Basic 6.0 SP6 |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Peter,
Now we're getting somewhere
![]() Nice solution for Marcus as well.
btw you can leave the @ before Aaron, its my real name
![]() |
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
![]() |
|
McKloony ![]() Senior Member ![]() ![]() Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
![]() ![]() ![]() ![]() ![]() |
Thank you, it works great!
|
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |