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

Windows Forms

 
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 
AnswerRe: Drag and Drop Into Word Pin
Chadwick Posey22-May-09 7:44
Chadwick Posey22-May-09 7:44 
Welp this is as close as I could figure out.

You cannot do it directly in memory (as far as I can tell), but here is the code emulating something close to dragging and dropping a file from explorer into word:

<br />
                string[] files = new string[1];<br />
                files[0] = @"C:\someimage.jpg";<br />
                IDataObject d = new DataObject();<br />
                d.SetData(DataFormats.FileDrop, files);<br />
<br />
                if (this.DoDragDrop(d, DragDropEffects.Copy) == DragDropEffects.Copy)<br />
                {<br />
                    //your drop succeeded<br />
                }<br />


Still cannot figure out why I cannot just drag and drop an image directly though.... would love to know what I could do differently.

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

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 
GeneralRe: passing value one from to another form Pin
Mycroft Holmes19-May-09 12:56
professionalMycroft Holmes19-May-09 12:56 

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.