Drg & drop windows style help

i want to create a windows type drag & drop, there is two text file icon & bmp icon and three folders, i want the files drag & droped in their respective folder and the the folders should be droped in the folder named “all documents”. I have done some coding but the is lot of problem.Please help me out. Thanks in advance.