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

C#

 
GeneralRe: relative XML file path Pin
Heath Stewart16-Jan-05 9:39
protectorHeath Stewart16-Jan-05 9:39 
GeneralRe: relative XML file path Pin
Gregg Holter16-Jan-05 16:44
Gregg Holter16-Jan-05 16:44 
GeneralMarshal Structs Pin
Anonymous15-Jan-05 12:51
Anonymous15-Jan-05 12:51 
GeneralRe: Marshal Structs Pin
Heath Stewart16-Jan-05 9:46
protectorHeath Stewart16-Jan-05 9:46 
Generalloading an xml file Pin
John L. DeVito15-Jan-05 12:48
professionalJohn L. DeVito15-Jan-05 12:48 
GeneralRe: loading an xml file Pin
Robert Rohde15-Jan-05 19:02
Robert Rohde15-Jan-05 19:02 
GeneralParse RTF to HTML Pin
vargasbo15-Jan-05 11:08
vargasbo15-Jan-05 11:08 
GeneralRe: Parse RTF to HTML Pin
Heath Stewart16-Jan-05 9:23
protectorHeath Stewart16-Jan-05 9:23 
A quick search[^] on "rtf to html" yields many, many results and this has been covered many times on this site. Click "Search comments" at the top of this message board to search for additional comments.

Actually you can use Word because Word does not have to load from a persistent file, but can also load from a stream. This is because the Word.Document object implements IPersistStorage (a COM interface) which loads an IStorage object, which you can obtain from P/Invoking OleCreateFromData. This requires interop'ing many native interfaces, like those I mentioned above as well as IDataObject (which is different from .NET's implementation of IDataObject, though they represent the same thing). A good understand of Interoperating with Unmanaged Code[^] is required, and knowledge of COM is very helpful.

This is still not the greatest idea, however, since the Word automation server is not scalable and should typically not be used on the backend of a client/server application.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: Parse RTF to HTML Pin
Anonymous21-Jan-05 9:34
Anonymous21-Jan-05 9:34 
GeneralRe: Parse RTF to HTML Pin
Heath Stewart21-Jan-05 13:14
protectorHeath Stewart21-Jan-05 13:14 
GeneralAlpha Channel in DirectX Pin
Rob Tomson15-Jan-05 9:35
Rob Tomson15-Jan-05 9:35 
GeneralRe: Alpha Channel in DirectX Pin
Heath Stewart16-Jan-05 9:15
protectorHeath Stewart16-Jan-05 9:15 
GeneralUse Graphics classes in a class library Pin
Anonymous15-Jan-05 9:09
Anonymous15-Jan-05 9:09 
GeneralRe: Use Graphics classes in a class library Pin
leppie15-Jan-05 9:17
leppie15-Jan-05 9:17 
GeneralRe: Use Graphics classes in a class library Pin
Skynyrd15-Jan-05 13:00
Skynyrd15-Jan-05 13:00 
QuestionMonitor Sharing? Pin
Rob Tomson15-Jan-05 8:43
Rob Tomson15-Jan-05 8:43 
AnswerRe: Monitor Sharing? Pin
Colin Angus Mackay15-Jan-05 11:47
Colin Angus Mackay15-Jan-05 11:47 
AnswerRe: Monitor Sharing? Pin
Robert Rohde15-Jan-05 19:05
Robert Rohde15-Jan-05 19:05 
GeneralDown Arrow Key Pin
Umair Ahmad khan15-Jan-05 8:34
Umair Ahmad khan15-Jan-05 8:34 
GeneralRe: Down Arrow Key Pin
Peter Molnar15-Jan-05 13:55
Peter Molnar15-Jan-05 13:55 
GeneralRe: Down Arrow Key Pin
Umair Ahmad khan15-Jan-05 20:21
Umair Ahmad khan15-Jan-05 20:21 
GeneralRe: Down Arrow Key Pin
Umair Ahmad khan16-Jan-05 4:26
Umair Ahmad khan16-Jan-05 4:26 
GeneralRe: Down Arrow Key Pin
Peter Molnar16-Jan-05 10:45
Peter Molnar16-Jan-05 10:45 
GeneralOdd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 7:31
flip_trickle15-Jan-05 7:31 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
Robert Rohde15-Jan-05 7:51
Robert Rohde15-Jan-05 7:51 

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.