>Is there any ActiveX control th allows the user to drag and drop a file (or a reference to a file) like in MS Outlook, and Exchange? Basically, I want to be able to add attachments to records in a table (visually). So I don't go and reinvent the wheel, please let me know!
>
>Thanks,
>Gino M.
I do some test, and the RTF control handle the Drag'N'Drop of files from the Explorer.
What i do:
I create a form.
I put a RTF control on it.
I open the debug window and i check the value of "_screen.activeform.olecontrol1.filename".
I run the form and start to drag some files from the Explorer into the control.
The debug show me the names of the files i droped.
But only some type of files (txt,rtf,gif,pjx...),
when i try to drop a "dbf" the filename = "".
I don't know whitch kind of files you want to 'attach',
but if it's only a delimited range of file type
this could be a good place to start.
HTH
:)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca