![]() |
[problem] DRAG AND DROP from Explorer |
Post Reply ![]() |
Author | ||
josnav ![]() Newbie ![]() Joined: 31 July 2011 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 31 July 2011 at 1:16am |
|
Hi!, Testing with 15.0.1 Report, I need to get drag and drop filenames from explorer to my report control.
I have take a view to code in https://forum.codejock.com/forum_posts.asp?TID=11368 but it doesn't work with my 15.0.1 vers. Any help/code? Thanks |
||
![]() |
||
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
I tried same test project with V15.0.1 - V15.0.2 and V15.1.2 and they all work OK. Did you change something, if so, show me what you did and I will see what can be done
![]() |
||
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.... |
||
![]() |
||
josnav ![]() Newbie ![]() Joined: 31 July 2011 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
|
Thanks for your answer, I'm very fool with that error.
No, I have only changed a compiler error variable, in .PaintManager.ColumnStyle = xtpColumnOffice2007 Visual Basic says that xtpColumnOffice2007 does not exist so I put xtpColumnOffice2003 Only that, and that is a cosmetical change. I run the EXE compiled, and when I try to drag & drop a file from explorer, I see the icon with the circle and the line crossed that dont allow to do it. I'm testing in W7 64 bits with VB 6.0 This is my exe compiled: http://www.uploadonall.com/files/0TEIOSUR/DropFiles.rar I need to get that function but it doesnt works... |
||
![]() |
||
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
|
Hi, use xtpColumnResource for Office 2007 and 2010. Andre |
||
Codejock support
|
||
![]() |
||
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
I don't have W7 so I can't test it for you... Did you replace ReportControl with 64 bits version?
|
||
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.... |
||
![]() |
||
bellmik ![]() Groupie ![]() Joined: 03 August 2011 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
|
Two features are necessary for drag drop to work.
OLEDragDrop = True SortDragDrop = True |
||
![]() |
||
josnav ![]() Newbie ![]() Joined: 31 July 2011 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
|
OLEDragDrop is an event, not a property.
SortDragDrop doesn't exist ![]()
|
||
![]() |
||
josnav ![]() Newbie ![]() Joined: 31 July 2011 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
|
Yes, tested with 64 bits. No luck. Tested in WXP and it works so, maybe it is a bug with admin privileges of EXPLORER.EXE process but in W7 64 bits doesn't work.
![]()
|
||
![]() |
||
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
|
The programs you are dragging from or dropping to must have the same privileges. Its built in security of the OS. There should be an article on these forums about modifying the manifest to make your program run at a higher level.
And he meant SortedDragDrop = True |
||
![]() |
||
Developerx ![]() Groupie ![]() Joined: 03 March 2011 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
|
Hello Josnav, I have tested both Xp and Win7 with drag and drop, the problem is related to Win7 and the so called security madness. manifest file maybe fix it I have made one which i tested on Win7, i post what i have tested. VB6 compiled exe. I dont use 7, i only want to test my applications. test.exe (vb6 compiled exe) put the xml manifest stuff into a file called test.exe.manifest 1. notepad paste manifest and save as, as type * and filename test.exe.manifest <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
||
![]() |
||
Developerx ![]() Groupie ![]() Joined: 03 March 2011 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
|
I have another i tested, test this..rename to test.exe.manifest put in same dir as your exe. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
||
![]() |
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 |