dropFile – If you place a Window control on the form, you can do some drag and drop work with files from outside AX. You drag the file from, for example, the desktop and drop it on your Window control. When you drop the file, the dropFile method of the Window control is called, with the filename and path as parameter. From here you can write X++ code to deal with the file. http://blogs.msdn.com/palle_agermark/archive/2006/06/27/648250.aspx