Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Passage of events between WinForms Pin
Eddy Vluggen20-Mar-14 10:35
professionalEddy Vluggen20-Mar-14 10:35 
GeneralRe: Passage of events between WinForms Pin
Mario 5620-Mar-14 14:44
Mario 5620-Mar-14 14:44 
GeneralRe: Passage of events between WinForms Pin
Eddy Vluggen21-Mar-14 7:29
professionalEddy Vluggen21-Mar-14 7:29 
AnswerRe: Passage of events between WinForms Pin
BobJanova20-Mar-14 8:06
BobJanova20-Mar-14 8:06 
GeneralRe: Passage of events between WinForms Pin
Mario 5620-Mar-14 9:51
Mario 5620-Mar-14 9:51 
GeneralRe: Passage of events between WinForms Pin
BobJanova21-Mar-14 0:20
BobJanova21-Mar-14 0:20 
GeneralRe: Passage of events between WinForms [Solved] Pin
Mario 5621-Mar-14 6:56
Mario 5621-Mar-14 6:56 
QuestionConvert HTML content to Rtf format or save it into Rtf file without the help of interop dll in c# Pin
Member 1068161419-Mar-14 19:09
Member 1068161419-Mar-14 19:09 
Hi,

I want to convert HTML content to rtf format or save this html content as .rtf file . I already done this with the help of interop dll. But it will take large time for conversion , if we host it in a server. Is there any free dll for HTML to RTF conversion.Please help if anybody knows it..

Sample HTML Content..

<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 12 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:serif;
panose-1Blush | :O 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
.MsoPapDefault
{margin-bottom:10.0pt;
line-height:115%;}
<a href="/Members/page">@page</a> WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>

</head>

<body lang=EN-US>

<div class=WordSection1>

<div>

<div>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:0in;text-align:right;text-autospace:none'><span
style='font-size:54.0pt;line-height:115%;font-family:"serif","serif";
color:black'>TEST</span><span style='font-size:19.5pt;line-height:115%;
font-family:"serif","serif";color:black'> TEST CONTENT</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:0in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:#FF9900'>&nbsp;</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:.5in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:#FF9900'>1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TEST CONTENT:</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:.5in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:#FF9900'>2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbspTEST CONTENT.</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:.5in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:#FF9900'>3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEST CONTENT.</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:.5in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:#FF9900'>4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEST CONTENT.</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:.5in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:#FF9900'>5.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEST CONTENT.</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:.5in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:#FF9900'>6.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TEST CONTENT.</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:.5in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:#FF9900'>8.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TEST CONTENT.</span></p>

<p class=MsoNormal align=right style='margin-top:5.0pt;margin-right:0in;
margin-bottom:5.0pt;margin-left:.5in;text-align:right;text-autospace:none'><span
style='font-size:19.5pt;line-height:115%;font-family:"serif","serif";
color:red'>HELO</span></p>

</div>

</div>

</div>

</body>

</html>


Thanks in Advance
AnswerRe: Convert HTML content to Rtf format or save it into Rtf file without the help of interop dll in c# Pin
Eddy Vluggen20-Mar-14 6:34
professionalEddy Vluggen20-Mar-14 6:34 
Questionc# Transform a pictureBox Pin
Ron Wensley19-Mar-14 14:06
professionalRon Wensley19-Mar-14 14:06 
AnswerRe: c# Transform a pictureBox Pin
Dave Kreskowiak19-Mar-14 14:30
mveDave Kreskowiak19-Mar-14 14:30 
GeneralRe: c# Transform a pictureBox Pin
Ron Wensley19-Mar-14 15:03
professionalRon Wensley19-Mar-14 15:03 
GeneralRe: c# Transform a pictureBox Pin
Dave Kreskowiak19-Mar-14 17:10
mveDave Kreskowiak19-Mar-14 17:10 
QuestionProblem with process.startinfo Pin
turbosupramk319-Mar-14 7:09
turbosupramk319-Mar-14 7:09 
AnswerRe: Problem with process.startinfo Pin
Richard Deeming19-Mar-14 7:28
mveRichard Deeming19-Mar-14 7:28 
GeneralRe: Problem with process.startinfo Pin
turbosupramk319-Mar-14 7:33
turbosupramk319-Mar-14 7:33 
SuggestionRe: Problem with process.startinfo Pin
Richard MacCutchan19-Mar-14 7:30
mveRichard MacCutchan19-Mar-14 7:30 
GeneralRe: Problem with process.startinfo Pin
turbosupramk319-Mar-14 7:35
turbosupramk319-Mar-14 7:35 
GeneralRe: Problem with process.startinfo Pin
Richard MacCutchan19-Mar-14 8:20
mveRichard MacCutchan19-Mar-14 8:20 
AnswerRe: Problem with process.startinfo Pin
Eddy Vluggen19-Mar-14 8:09
professionalEddy Vluggen19-Mar-14 8:09 
GeneralRe: Problem with process.startinfo Pin
turbosupramk319-Mar-14 8:26
turbosupramk319-Mar-14 8:26 
AnswerRe: Problem with process.startinfo Pin
Eddy Vluggen20-Mar-14 10:20
professionalEddy Vluggen20-Mar-14 10:20 
GeneralRe: Problem with process.startinfo Pin
turbosupramk320-Mar-14 10:29
turbosupramk320-Mar-14 10:29 
GeneralRe: Problem with process.startinfo Pin
Eddy Vluggen20-Mar-14 10:43
professionalEddy Vluggen20-Mar-14 10:43 
AnswerRe: Problem with process.startinfo Pin
BobJanova20-Mar-14 8:07
BobJanova20-Mar-14 8:07 

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.