Click here to Skip to main content
15,900,589 members
Home / Discussions / C#
   

C#

 
GeneralThe Objective / Solution Pin
16-Dec-03 4:27
suss16-Dec-03 4:27 
GeneralRe: The Objective / Solution Pin
Heath Stewart16-Dec-03 5:04
protectorHeath Stewart16-Dec-03 5:04 
GeneralRe: The Objective / Solution Pin
Tristan Rhodes16-Dec-03 5:27
Tristan Rhodes16-Dec-03 5:27 
GeneralRe: The Objective / Solution Pin
Heath Stewart16-Dec-03 5:29
protectorHeath Stewart16-Dec-03 5:29 
GeneralRe: The Objective / Solution Pin
Tristan Rhodes16-Dec-03 6:16
Tristan Rhodes16-Dec-03 6:16 
GeneralRe: The Objective / Solution Pin
Heath Stewart16-Dec-03 6:21
protectorHeath Stewart16-Dec-03 6:21 
GeneralRe: The Objective / Solution Pin
Tristan Rhodes16-Dec-03 6:33
Tristan Rhodes16-Dec-03 6:33 
GeneralRich Text box problem Pin
Abhi158116-Dec-03 2:43
Abhi158116-Dec-03 2:43 
I have a Rich Text Box Control. In which i want that only text along with its formatting(bold, color etc) be pasted. But it should discard IF clipboard item contains Image.
I tried using
if(!(Clipboard.GetDataObject().GetDataPresent(DataFormats.Bitmap)))
{
Clipboard.GetDataObject().GetFormats();
this.Paste();
}

but does not allow Image to be pasted but if data to be pasted contains Image and Text both it fails to restrict.
I also tried with DataFormats.Text but then only text is pasted and formatting is lost. Can anybody help me.





GeneralRe: Rich Text box problem Pin
Heath Stewart16-Dec-03 3:36
protectorHeath Stewart16-Dec-03 3:36 
QuestionHow to report changes in FTP server? Pin
mkomasi16-Dec-03 2:43
mkomasi16-Dec-03 2:43 
AnswerRe: How to report changes in FTP server? Pin
Heath Stewart16-Dec-03 3:24
protectorHeath Stewart16-Dec-03 3:24 
Generalshortcut on text-less button Pin
troels_sorensen16-Dec-03 2:08
troels_sorensen16-Dec-03 2:08 
GeneralRe: shortcut on text-less button Pin
Heath Stewart16-Dec-03 3:23
protectorHeath Stewart16-Dec-03 3:23 
Generaldetecting and editing extended properties Pin
pekai15-Dec-03 23:50
pekai15-Dec-03 23:50 
GeneralRe: detecting and editing extended properties Pin
Heath Stewart16-Dec-03 3:21
protectorHeath Stewart16-Dec-03 3:21 
GeneralRe: detecting and editing extended properties Pin
pekai16-Dec-03 3:50
pekai16-Dec-03 3:50 
GeneralRe: detecting and editing extended properties Pin
Heath Stewart16-Dec-03 4:05
protectorHeath Stewart16-Dec-03 4:05 
GeneralRe: detecting and editing extended properties Pin
pekai16-Dec-03 4:18
pekai16-Dec-03 4:18 
GeneralRe: detecting and editing extended properties Pin
Heath Stewart16-Dec-03 4:59
protectorHeath Stewart16-Dec-03 4:59 
Generalc# & pop_up menue Pin
amjadqaqa15-Dec-03 23:29
amjadqaqa15-Dec-03 23:29 
GeneralRe: c# & pop_up menue Pin
Member 26118815-Dec-03 23:46
Member 26118815-Dec-03 23:46 
GeneralC# & DOS Pin
15-Dec-03 21:20
suss15-Dec-03 21:20 
GeneralRe: C# & DOS Pin
Colin Angus Mackay15-Dec-03 22:18
Colin Angus Mackay15-Dec-03 22:18 
GeneralRe: C# & DOS Pin
Member 26118815-Dec-03 23:49
Member 26118815-Dec-03 23:49 
GeneralRe: C# & DOS Pin
Member 74694915-Dec-03 23:55
Member 74694915-Dec-03 23: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.