Drag and drop files from a listbox fails |
Post Reply |
Author | |
ceesverburg
Newbie Joined: 27 March 2011 Location: Vietnam Status: Offline Points: 13 |
Post Options
Thanks(0)
Posted: 02 April 2012 at 9:12am |
Drag and drop from listbox doesn't work, worse when I try to drop to windows explorer or to the desktop it causes explorer to crash. Checking de Data object after Data.SetData "c:\test.txt", vbCFFiles it seems that no files were added (Data Is Nothing). Code I use below. Did I miss something?
Private Sub lstFiles_OLEStartDrag(Data As XtremeSuiteControls.DataObject, AllowedEffects As Long) AllowedEffects = vbDropEffectCopy Data.SetData "c:\test.txt", vbCFFiles 'OR: Data.SetData Array("c:\test.txt", "c:\test2.txt"), vbCFFiles End Sub VB6 SP6, Xtreme SuitePro ActiveX 2011 (15.2.1), Win7 |
|
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 |