Click here to Skip to main content
16,020,567 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionOffice Ribbon functionality Pin
windhopper22-May-09 2:23
windhopper22-May-09 2:23 
QuestionAliens stole my toolStrip, please help :'( Pin
Baeltazor21-May-09 14:52
Baeltazor21-May-09 14:52 
AnswerRe: Aliens stole my toolStrip, please help :'( [modified] Pin
Alan N21-May-09 22:38
Alan N21-May-09 22:38 
GeneralRe: Aliens stole my toolStrip, please help :'( Pin
Baeltazor22-May-09 15:50
Baeltazor22-May-09 15:50 
AnswerRe: Aliens stole my toolStrip, please help :'( Pin
dybs23-May-09 17:21
dybs23-May-09 17:21 
AnswerRe: Aliens stole my toolStrip, please help :'( Pin
molesworth24-May-09 0:34
molesworth24-May-09 0:34 
NewsVideos offer devs first look at Windows 7 Pin
brucedkyle21-May-09 8:45
brucedkyle21-May-09 8:45 
QuestionDrag and Drop Into Word Pin
Chadwick Posey20-May-09 8:04
Chadwick Posey20-May-09 8:04 
I have all the code necessary (I think) to perform a drag and drop into word... but I am having trouble with pictures... any kind of Bitmap or Image does not drop properly into word, it does something but then acts as if I didn't drop anything it understood.... However, the same code works for dragging and dropping onto other office apps (e.g. Excel and Powerpoint).

The code looks like this:

<br />
private void pictureBox1_MouseMove(object sender, MouseEventArgs e)<br />
{<br />
if (_mouseIsDown)<br />
{<br />
IDataObject obj = new DataObject(DataFormats.Bitmap, pictureBox1.Image);<br />
this.DoDragDrop(obj, DragDropEffects.All);<br />
}<br />
}<br />


Any one have any idea what I'm doing wrong? (and for the record, I have tried it without using IDataObject as well, just directly putting the image into the data argument... oh and I also tried creating a "new Bitmap(pictureBox1.Image)" and putting that in the data argument...

To no avail....

A) Can anyone reproduce the issue at hand

B) Does anyone know what I'm doing wrong? Do I need to use OLE directly or something?

Thanks

Chadwick Posey

=============================
I'm a developer, he's a developer, she's a developer, we're developers, Wouldn't ya like to be a developer too?

AnswerRe: Drag and Drop Into Word Pin
Chadwick Posey22-May-09 7:44
Chadwick Posey22-May-09 7:44 
QuestionMultiple Context Menu visibility issue Pin
TyrionTheImp20-May-09 7:21
TyrionTheImp20-May-09 7:21 
QuestionHow to use windows application with in the LAN Pin
Rakhe19-May-09 22:03
Rakhe19-May-09 22:03 
AnswerRe: How to use windows application with in the LAN Pin
EliottA20-May-09 2:44
EliottA20-May-09 2:44 
Questionhow to use an windows application in lan? Pin
Rakhe19-May-09 21:35
Rakhe19-May-09 21:35 
AnswerRe: how to use an windows application in lan? Pin
Mycroft Holmes23-May-09 17:49
professionalMycroft Holmes23-May-09 17:49 
QuestionC# console application for web file download gets 401 Pin
Mike Devenney19-May-09 9:26
Mike Devenney19-May-09 9:26 
AnswerRe: C# console application for web file download gets 401 Pin
bc_sridhar14-Jan-10 4:16
bc_sridhar14-Jan-10 4:16 
QuestionTooltip in Datagrid 1.1 Pin
mistryshailesh18-May-09 18:43
mistryshailesh18-May-09 18:43 
Question"Assembly Resource File" in Visual Studio 2008 Pin
bigcivilmelon18-May-09 12:51
bigcivilmelon18-May-09 12:51 
Questionsmart logger window Pin
IWannaTalk18-May-09 3:53
IWannaTalk18-May-09 3:53 
AnswerRe: smart logger window Pin
Luc Pattyn18-May-09 5:11
sitebuilderLuc Pattyn18-May-09 5:11 
GeneralRe: smart logger window Pin
IWannaTalk18-May-09 10:57
IWannaTalk18-May-09 10:57 
GeneralRe: smart logger window Pin
EliottA19-May-09 2:45
EliottA19-May-09 2:45 
Questionpassing value one from to another form Pin
grandhisrinivas17-May-09 20:13
grandhisrinivas17-May-09 20:13 
AnswerRe: passing value one from to another form Pin
Mycroft Holmes17-May-09 21:58
professionalMycroft Holmes17-May-09 21:58 
GeneralRe: passing value one from to another form Pin
EliottA19-May-09 2:47
EliottA19-May-09 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.