var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Drag & Drop
I need to be able to drag files from Explorer (not IE) and drop them on a control or form in Access then some code will make an entry in a table and copy the dropped file to another folder.
I found some nifty code in the archives (http://dbforums.com/arch/105/2002/4/345212) unfortunately I am banging my head on the wall with a bug I can't fix.
- First bug Set CDrag = New ClsDragDrop must be added to the WindowProc sub.
- When the execution reaches the line "txt.Text = txt.Text & Left$(sFilename, lReturn) & vbCrLf" in the class module I get an error message: Object Variable not Set then VB freezes.
Thanks for your help,
P.S. Complete project attached