Hello,
I tried to send a file(image) to an external application (oowriter) with 
the Clipboard or with a drag and drop.
But it don't seem to work. Here is what i'm doing :

With Clipboard :
                System.Collections.Specialized.StringCollection Coll;
                Coll = new 
System.Collections.Specialized.StringCollection();
                Coll.Add(Fic);
                Clipboard.SetFileDropList(Coll);

With Drag and drop:
            System.Collections.Specialized.StringCollection coll;
            coll = new System.Collections.Specialized.StringCollection();
            coll.Add(Fic);

            DataObject dto = new DataObject();
            dto.SetData(DataFormats.FileDrop, coll);
            Ctrl.DoDragDrop(dto, DragDropEffects.Move);

Is the problem in my code, or it's internal to mono (1.2.3) ?

thanks

AlicVB

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to