Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - OLE Drag&Drop doesn't work
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OLE Drag&Drop doesn't work

 Post Reply Post Reply
Author
Message
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Topic: OLE Drag&Drop doesn't work
    Posted: 02 March 2010 at 9:11am
Hi,
 
I jumped to V13.3 (VB6/SP6, Win7). NoI run into problems with OLEDrag&Drop. What do I wrong:
 
RC.UnrestrictedDragDrop=True
RC.SortedDragDrop=True
RC.OLEDropMode=xtpOLEDropManual
RC.EnableDragDrop "DMXP", xtpReportAllowDrop
 
If I try to drag a file from the Windows explorer window to the RC I see only the 'no-drag' icon. The OLEDragOver event was never fired.
 
Any help???
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2010 at 9:28am

Try:

ReVal = RC.EnableDragDrop("DMXP", xtpReportAllowDrag + xtpReportAllowDrop)
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2010 at 9:53am
Thanks McKloony,
 
But that doesn't change anything.
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2010 at 2:47pm
Originally posted by Fabian Fabian wrote:

Hi,
 
I jumped to V13.3 (VB6/SP6, Win7). NoI run into problems with OLEDrag&Drop. What do I wrong:
 
RC.UnrestrictedDragDrop=True
RC.SortedDragDrop=True
RC.OLEDropMode=xtpOLEDropManual
RC.EnableDragDrop "DMXP", xtpReportAllowDrop
 
If I try to drag a file from the Windows explorer window to the RC I see only the 'no-drag' icon. The OLEDragOver event was never fired.
 
Any help???
 
 
Hi,  do you have x64 Machine ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2010 at 3:11pm
Can you chec if standard ListBox works for you - just create new project, drop ListBox and code

Private Sub Form_Load()

List1.OLEDropMode = vbOLEDropManual

End Sub

Private Sub List1_OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)

Debug.Print "List1_OLEDragOver"

End Sub

seems its some WIndows 7 problems - works for my PC but not for another one.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2010 at 3:23pm
This might be caused by User Account Control trying to protect you from messages being sent between processes with different privileges. This can happen if the application you are dragging to is being "Run as Administrator." You can read more about this issue here (Windows 7 – User Account Control (UAC) – Drag n’ Drop - Issuesl.)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.160 seconds.