Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: BinnaryWriter Class Pin
lisan_al_ghaib28-Aug-08 22:10
lisan_al_ghaib28-Aug-08 22:10 
GeneralRe: BinnaryWriter Class Pin
Mark Salsbery29-Aug-08 5:18
Mark Salsbery29-Aug-08 5:18 
JokeRe: BinnaryWriter Class Pin
lisan_al_ghaib29-Aug-08 5:22
lisan_al_ghaib29-Aug-08 5:22 
GeneralRe: BinnaryWriter Class Pin
Pete O'Hanlon28-Aug-08 8:13
mvePete O'Hanlon28-Aug-08 8:13 
GeneralRe: BinnaryWriter Class Pin
led mike28-Aug-08 8:16
led mike28-Aug-08 8:16 
GeneralRe: BinnaryWriter Class Pin
Pete O'Hanlon28-Aug-08 8:42
mvePete O'Hanlon28-Aug-08 8:42 
GeneralRe: BinnaryWriter Class Pin
led mike28-Aug-08 8:52
led mike28-Aug-08 8:52 
Questioncopy and paste Pin
netJP12L28-Aug-08 4:16
netJP12L28-Aug-08 4:16 
Hello friends, I couldn't find much info on how to copy/paste text and preserve the formatting from other applications (like World, PowerPoint) to webbrowser control in C#. I was able to copy/paste text from e.g words but i loose all the formatting when i paste text to the webbrower control like "bullets, indentation and other normal features).

So my real question is that, can we Paste the formated text the way it was when copied from other applications. I tried like this but no success. Could you suggest me through your experience or thoughts or any kind resources.

if (Clipboard.ContainsText())
{
IHTMLTxtRange range = doc.selection.createRange() as IHTMLTxtRange;
range.pasteHTML(Clipboard.GetText(TextDataFormat.Text));
}


Thanks
QuestionReading more than column in a text file Pin
ianhunt0128-Aug-08 3:57
ianhunt0128-Aug-08 3:57 
QuestionTemp Folder Pin
hadad28-Aug-08 3:04
hadad28-Aug-08 3:04 
AnswerRe: Temp Folder Pin
DaveyM6928-Aug-08 3:11
professionalDaveyM6928-Aug-08 3:11 
AnswerRe: Temp Folder Pin
#realJSOP28-Aug-08 3:18
mve#realJSOP28-Aug-08 3:18 
GeneralRe: Temp Folder Pin
User 665828-Aug-08 3:34
User 665828-Aug-08 3:34 
JokeRe: Temp Folder Pin
lisan_al_ghaib28-Aug-08 5:12
lisan_al_ghaib28-Aug-08 5:12 
GeneralRe: Temp Folder Pin
User 665828-Aug-08 5:25
User 665828-Aug-08 5:25 
QuestionMultimedia utility [modified] Pin
sanaritasages28-Aug-08 3:00
sanaritasages28-Aug-08 3:00 
QuestionURGENT: Unable to get the authentication token using console application in C# Pin
Princy Philip28-Aug-08 2:51
Princy Philip28-Aug-08 2:51 
AnswerRe: URGENT: Unable to get the authentication token using console application in C# Pin
#realJSOP28-Aug-08 3:20
mve#realJSOP28-Aug-08 3:20 
QuestionCraeting Software Setup for one time use (install) Pin
Ingenious HM28-Aug-08 1:45
Ingenious HM28-Aug-08 1:45 
Questionaccess denied when accessing IIS directory Pin
George_George28-Aug-08 1:37
George_George28-Aug-08 1:37 
AnswerRe: access denied when accessing IIS directory Pin
leppie28-Aug-08 2:22
leppie28-Aug-08 2:22 
GeneralRe: access denied when accessing IIS directory Pin
George_George28-Aug-08 2:37
George_George28-Aug-08 2:37 
GeneralRe: access denied when accessing IIS directory Pin
leppie28-Aug-08 2:44
leppie28-Aug-08 2:44 
GeneralRe: access denied when accessing IIS directory Pin
George_George28-Aug-08 3:56
George_George28-Aug-08 3:56 
GeneralRe: access denied when accessing IIS directory Pin
leppie28-Aug-08 4:27
leppie28-Aug-08 4:27 

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.