Click here to Skip to main content
15,885,767 members
Home / Discussions / C#
   

C#

 
GeneralRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
AB77712-Sep-05 22:13
AB77712-Sep-05 22:13 
NewsRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
Mohamad Al Husseiny2-Sep-05 13:59
Mohamad Al Husseiny2-Sep-05 13:59 
AnswerRe: Urgent!!!!! Drawing Rectanlges on RichTextBox Pin
Mohamad Al Husseiny2-Sep-05 13:35
Mohamad Al Husseiny2-Sep-05 13:35 
QuestionHow 2 Change Screen Resolution Of Multi Monitors! Pin
majidbhutta1-Sep-05 17:20
majidbhutta1-Sep-05 17:20 
AnswerRe: How 2 Change Screen Resolution Of Multi Monitors! Pin
Dario Solera1-Sep-05 21:44
Dario Solera1-Sep-05 21:44 
QuestionHow to open an Excel File using C# Application. Pin
pubududilena1-Sep-05 16:48
pubududilena1-Sep-05 16:48 
AnswerRe: How to open an Excel File using C# Application. Pin
Robert Rohde1-Sep-05 20:00
Robert Rohde1-Sep-05 20:00 
QuestionHow can I darg-drop item to a WebBrowser control ? Pin
Member 19785851-Sep-05 16:03
Member 19785851-Sep-05 16:03 
Hi :
How can I darg-drop item to a WebBrowser control ?
I created an application written by C#,it includes two forms , one form

includes a TreeView control , the other includes a WebBrower control and a

TextBox control, now we call them as Form1 and Form2.
First , I try drag a item to the TextBox control,(I have set TreeView for

drag well ) I set
"this.textBox1.AllowDrop = true;" then add Events and write these methods:
this.textBox1.DragOver += new System.Windows.Forms.DragEventHandler

(this.textBox1_DragOver);
this.textBox1.DragDrop += new System.Windows.Forms.DragEventHandler

(this.textBox1_DragDrop);
this.textBox1.DragEnter += new System.Windows.Forms.DragEventHandler

(this.textBox1_DragEnter);
Run this application,and drag item from TreeView which in Form1 to TextBox

which in Form2,the TextBox 3 Events (DragOver,DragDrop,DragEnter) is done

well.
But when I want drag item to the WebBrower,I can not find DragEnter Event and

others Events related to "Drag-Drop",so I can not drop Item to WebBrowser.
Also I have tryed set WebBrowser's Document.DesignMode="On",but can not drop

too.
Then I Write a HTMLBody's ondragenter Event ,but this ondragenter() can not

trigger.
So I think it must be solved by COM knowledge.
Can any one give my some suggestion,
because my COM knowledge is poor, if anyone give me an all solved code ,I

will be very appreciated.Thanks very Smile | :)


QuestionVirtual Dispatching Pin
mpastchenko1-Sep-05 15:15
mpastchenko1-Sep-05 15:15 
AnswerRe: Virtual Dispatching Pin
leppie1-Sep-05 18:07
leppie1-Sep-05 18:07 
QuestionDeserialize - comments? Pin
peterchen1-Sep-05 13:34
peterchen1-Sep-05 13:34 
AnswerRe: Deserialize - comments? Pin
leppie1-Sep-05 14:14
leppie1-Sep-05 14:14 
GeneralRe: Deserialize - comments? Pin
peterchen1-Sep-05 20:30
peterchen1-Sep-05 20:30 
GeneralRe: Deserialize - comments? Pin
Mathew Hall2-Sep-05 0:43
Mathew Hall2-Sep-05 0:43 
QuestionC#/.NET coding standards: private members Pin
peterchen1-Sep-05 13:11
peterchen1-Sep-05 13:11 
AnswerRe: C#/.NET coding standards: private members Pin
Christian Graus1-Sep-05 13:58
protectorChristian Graus1-Sep-05 13:58 
GeneralRe: C#/.NET coding standards: private members Pin
Mathew Hall2-Sep-05 1:03
Mathew Hall2-Sep-05 1:03 
GeneralRe: C#/.NET coding standards: private members Pin
Christian Graus4-Sep-05 10:23
protectorChristian Graus4-Sep-05 10:23 
AnswerRe: C#/.NET coding standards: private members Pin
Mathew Hall2-Sep-05 1:07
Mathew Hall2-Sep-05 1:07 
Questiondrag and drop scrolling Pin
xilefxilef1-Sep-05 10:20
xilefxilef1-Sep-05 10:20 
AnswerRe: drag and drop scrolling Pin
Judah Gabriel Himango1-Sep-05 10:27
sponsorJudah Gabriel Himango1-Sep-05 10:27 
Questioncan this be done in C# / .NET / WinForms? Pin
peterchen1-Sep-05 10:08
peterchen1-Sep-05 10:08 
AnswerRe: can this be done in C# / .NET / WinForms? Pin
Judah Gabriel Himango1-Sep-05 10:17
sponsorJudah Gabriel Himango1-Sep-05 10:17 
GeneralRe: can this be done in C# / .NET / WinForms? Pin
peterchen1-Sep-05 10:37
peterchen1-Sep-05 10:37 
GeneralRe: can this be done in C# / .NET / WinForms? Pin
Judah Gabriel Himango1-Sep-05 10:55
sponsorJudah Gabriel Himango1-Sep-05 10:55 

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.