How to Ole Drag/Drop image files to a 3rd party program?
Posted on 2002-06-20
On a VB6 form I have a File1 control listing multiple .JPG files. In File2 on the same form I have a 3rd party image printing program that will accept OleDragDrop (I've tested it with Explorer, dropping up to five images on it).
I would like to multiselect files from File1 then drag them to the .EXE shown in File2 and drop them, which should have the same effect as working within Explorer, launching the program with the files loaded inside.
It seemed simple until I began and now I need lots of help.
The process I need to do is to drag and drop multiple files onto a 3rd party program so that the 3rd party program accepts the files and launches.
This would be similar to having two instances of Explorer open, one pointing to a folder with .JPG files in it and the other instance pointing to a 3rd party .JPG printing program. Another example would be one Explorer showing .BMP's and the other Explorer showing MS Paint. Click and drag the .BMP and drop it on the MS Paint program and it will not only launch MS Paint but MS Paint will have the .BMP displayed when it is opened.
I am attempting to do this with a more friendly interface than two instances of Explorer, using the VB Controls File1 and File2.
Is it possible to have two instances of Explorer (like a control) within my VB6 project so that the drag and drop onto them and thereby the 3rd party program would be automatic?
Can anybody help?