Groups | Blog | Home
all groups > c# > april 2004 >

c# : Word in VisualStudio mit C# benutzen?


Reinhard Vornholt
4/22/2004 11:35:55 PM
Hallo,

ich möchte gerne meiner Windows anwendung ein Control spendieren in dem der
User WordLike Texte eingeben kann. (RTF reicht nicht). Gibt es ein control
welches dies kann? Ich kann ja auch z.B. einen WebBrowser Control benutzen,
aber gibt es auch sowas wie ein Word Control?

Danke
RV.

Reinhard Vornholt
4/22/2004 11:47:06 PM
Ooops, I miscklicked the newsgroup, this was suposed to go into the german
group...

Well, again, I am looking for a way to use word in my C# windows
application. Is is possible? Is there some kind

of control I can use, like the webbrowser control? A control so that I have
a textbox with the functionality of word?



Apreciate any help

Thx

RV

Bjorn Abelli
4/23/2004 12:03:14 AM

"Reinhard Vornholt" <vornholt@NOSPAM-coredumped.de> skrev i meddelandet
news:%23o17MHLKEHA.2888@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

Warum nicht?

Fast alles, den Sie im Word gebrauchen können, das Sie mit RTF auch können.

Dafür können Sie den RichTextBox gebrauchen.

[quoted text, click to view]

Das Word Format ist nicht "Gemeinwohl", aber es gibt Möglichkeiten für
Zwischenfunktionsfähigkeit zwischen Office und .NET.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/office11012001.asp

// Bjorn A

Sorry for any mistakes with the German language, but I haven't spoken it for
several years...

I think you might get better answers if you write your questions in English.



Reinhard Vornholt
4/23/2004 1:39:19 PM
Hi,

thx for you answer, I already wrote it in english.. I made a mistake with
the newsgroup, it was suposed to go into the german group. :)

I tried RTF already, but the user wants to use tables for example, and that
doesent work in the rtf box... :( So I am lookin for something else...

"Bjorn Abelli" <bjorn_abelli@DoNotSpam.hotmail.com> schrieb im Newsbeitrag
news:eoEydWLKEHA.2576@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

Bjorn Abelli
4/23/2004 2:55:13 PM
"Reinhard Vornholt" wrote...

[quoted text, click to view]

[snipped from the "german" thread]

[quoted text, click to view]

Well, I think RTF really *do* support tables, but I don't actually know how
this would be made in a RichTextBox...

There is no "WordTextBox" in the Framework, but there is an article in
CodeProject on how you can accomplish something similar:

http://www.codeproject.com/cs/miscctrl/winwordcontrol.asp?df=100&forumid=14182&exp=0&select=739696

Another possibility could be to look for third-party controls.

http://www.textcontrol.com/
http://www.aspose.com/Products/Aspose.Word/
http://officewriter.softartisans.com/officewriter-189.aspx


// Bjorn A

Reinhard Vornholt
4/23/2004 5:37:59 PM
Well, right RTF TextBox does support tabels... but somehow not correct.

It would be good enough if the user could edit a text in WordPad and then
copy and paste it into the RTFTextBox. But when there is a table in the rtf
that has cells with multiple lines, it does not render the table correctly.
Thats the main problem.


"Bjorn Abelli" <bjorn_abelli@DoNotSpam.hotmail.com> schrieb im Newsbeitrag
news:%23AXC6ITKEHA.556@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button