Forum Discussion
Drag and Drop a file within a form in Microsoft Access 2016 on Windows 10 problem
UPDATE...
So I am able to drag and drop a file and this is what I did. I had to click in the form a few times first and then I can drag the file over the form and it will take it.
I think it may have to do with this part of the code:
'If you experience occasional times where you drop files
'but they do not register, set the DDH_MAXCALLS constant
'to a higher number. In Access 2010 in particular this
'number seems to want to be set around 50 or so for
'it to work every time. You might need to go higher
Const DDH_MAXCALLS = 150
Static intCallCount As Integer
Any thoughts or ideas on how to make the form respond like it does on Windows 7?
ktesler Something changed in the Windows 10 ecosystem causing this functionality to get problematic...it used to work just fine in Windows 7 but i think we some recent update it tampers with DDH_MAXCALLS and thus the code doesn't work properly...i used to work with something similar in the Windows 7 era and probably early Win 10 editions but later it just doesn't...increasing the DDH_MAXCALLS (i think i saw something like 500) it should help but not much