Forum Discussion
ktesler
Nov 21, 2018Copper Contributor
Drag and Drop a file within a form in Microsoft Access 2016 on Windows 10 problem
I have an Access Database that was designed and working fine in Windows 7 with Access 2010. It has a form that allows you to drag a file from the desktop (such as a pdf file) and load the path on th...
ktesler
Nov 22, 2018Copper Contributor
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?