Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis16-Feb-09 10:48
mid_life_crisis16-Feb-09 10:48 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
MickCurley16-Feb-09 12:48
MickCurley16-Feb-09 12:48 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis16-Feb-09 16:14
mid_life_crisis16-Feb-09 16:14 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
MickCurley16-Feb-09 21:16
MickCurley16-Feb-09 21:16 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis17-Feb-09 2:26
mid_life_crisis17-Feb-09 2:26 
QuestionListBox Control - using DisplayMember and ValueMember Pin
divinyl16-Feb-09 5:34
divinyl16-Feb-09 5:34 
AnswerRe: ListBox Control - using DisplayMember and ValueMember Pin
Xmen Real 16-Feb-09 7:45
professional Xmen Real 16-Feb-09 7:45 
QuestionDrag&Drop over RichTextBox showing wrong DropEffect Pin
mav.northwind16-Feb-09 5:18
mav.northwind16-Feb-09 5:18 
Hi guys!

I'm struggling with a weird problem I'm unable to solve so far.

I want to enable drag&drop of mail attachments from Outlook.
This does work when my drop target is, for example, a Form or a Panel; I can get all the file names and contents, no problem.
As soon as I try the same with a RichTextBox as drop target, it doesn't work - whatever I set the desired DropEffect to (usually DropEffect.Copy), the cursor is always DropEffect.Move when dragging files from Explorer over the RTB (minor nuisance) and DropEffect.None if I drag mail attachments from Outlook (showstopper).

It doesn't matter if I set the effect in DragEnter or DragOver, if EnableAutoDragDrop is true or false, I've even tried loading a Rich Edit control 4.1 instead of the default V2.0, but to no avail.

Can anyone help?

Thanks in advance!

Regards,
mav

--
Black holes are the places where God divided by 0...

AnswerRe: Drag&Drop over RichTextBox showing wrong DropEffect Pin
Xmen Real 16-Feb-09 7:54
professional Xmen Real 16-Feb-09 7:54 
GeneralRe: Drag&Drop over RichTextBox showing wrong DropEffect Pin
mav.northwind16-Feb-09 8:41
mav.northwind16-Feb-09 8:41 
GeneralRe: Drag&Drop over RichTextBox showing wrong DropEffect Pin
Xmen Real 16-Feb-09 13:44
professional Xmen Real 16-Feb-09 13:44 
QuestionSee the execution path of my program Pin
anderslundsgard16-Feb-09 5:17
anderslundsgard16-Feb-09 5:17 
AnswerRe: See the execution path of my program Pin
Eddy Vluggen16-Feb-09 7:36
professionalEddy Vluggen16-Feb-09 7:36 
QuestionShow Repeating Data Pin
Terick16-Feb-09 4:44
Terick16-Feb-09 4:44 
QuestionDesigning Menu/tool bar system takes action depending on control displayed Pin
SilimSayo16-Feb-09 4:38
SilimSayo16-Feb-09 4:38 
QuestionTreeView-Error Pin
Udayaraju16-Feb-09 3:33
Udayaraju16-Feb-09 3:33 
AnswerRe: TreeView-Error Pin
Xmen Real 16-Feb-09 7:34
professional Xmen Real 16-Feb-09 7:34 
GeneralRe: TreeView-Error Pin
Udayaraju16-Feb-09 8:06
Udayaraju16-Feb-09 8:06 
GeneralRe: TreeView-Error Pin
Xmen Real 16-Feb-09 8:08
professional Xmen Real 16-Feb-09 8:08 
QuestionDataGridView doesn't display anything. Pin
AxiliuM16-Feb-09 3:04
AxiliuM16-Feb-09 3:04 
AnswerRe: DataGridView doesn't display anything. Pin
Calin Tatar16-Feb-09 7:21
Calin Tatar16-Feb-09 7:21 
GeneralRe: DataGridView doesn't display anything. Pin
AxiliuM16-Feb-09 10:22
AxiliuM16-Feb-09 10:22 
GeneralRe: DataGridView doesn't display anything. Pin
Calin Tatar16-Feb-09 22:05
Calin Tatar16-Feb-09 22:05 
QuestionSystem.Net.Webexcpetion Pin
MamthaLalith16-Feb-09 2:01
MamthaLalith16-Feb-09 2:01 
AnswerRe: System.Net.Webexcpetion Pin
EliottA16-Feb-09 2:02
EliottA16-Feb-09 2:02 

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.