M
mcse3010
I have been unable thusfar to drag and drop an image into Word from a .NET app.
The code I am trying to use appears below:
this.DoDragDrop(pictureBox1.Image, DragDropEffects.All);
The pictureBox1.Image is a JPEG file loaded from the filesystem. Using the
above code, I can drag and drop into Excel and Powerpoint, but dropping onto
Word appears to do something but no picture appears.
Could someone tell me what I'm doing wrong -- or point me to the right
direction -- using Win32 API or OLE or whatever it is I need to do to get
this to work?
TIA
The code I am trying to use appears below:
this.DoDragDrop(pictureBox1.Image, DragDropEffects.All);
The pictureBox1.Image is a JPEG file loaded from the filesystem. Using the
above code, I can drag and drop into Excel and Powerpoint, but dropping onto
Word appears to do something but no picture appears.
Could someone tell me what I'm doing wrong -- or point me to the right
direction -- using Win32 API or OLE or whatever it is I need to do to get
this to work?
TIA