473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to open the word document into richtextbox

Manikgisl
HI,

How to open the word document into richtextbox .The word document contians text and images ......

Can any one provide solution for this ...


Regards,

Mani
Apr 22 '10 #1

✓ answered by MrMancunian

Come on, you can find this yourself!

http://msdn.microsoft.com/en-us/libr...chtextbox.aspx

Steven

6 10457
MrMancunian
569 Expert 512MB
Come on, you can find this yourself!

http://msdn.microsoft.com/en-us/libr...chtextbox.aspx

Steven
Apr 22 '10 #2
Monomachus
127 Expert 100+
@Manikgisl
First take a look at Office Primary Interop Assemblies

Here you should find how to use Office Interop to interact with Microsoft Office Documents.

You could also read the disscusion about the same topic here

And please before posting the question search with a search engine as it is Google or Bing.
Apr 22 '10 #3
@Monomachus
hi Monomachus

I had searched in web and able to open a word document ( that contians text only) in Rich textbox.

But i need to open the word document that contians Images and text .

I hope u understatnd my issue ..

Can u suggest any solution for this ......
Apr 23 '10 #4
@MrMancunian
Thank u very much...


Its opening the .rtf files...


i need to open the .doc file

I cant open the .Doc file through that code

its say "invalid format" as exception
Apr 23 '10 #5
Hi, I am also searching the same code.
how to open word file with text,images and bullets in rich text box.
i am successful to open a word file thorough code in rich text box. but it only for text.
it doesn't show images and bullets.

if you have code then please send me
at my email id-mayankshrivastava.cs@gmail.com
Its very urgent for me.

Thanks in Advance-

Mayank Shrivastava
Feb 11 '12 #6
just convert the Docx file into RTF file and load it.

while converting it loose any data including Image.

hope it work.
Apr 5 '13 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: TLMM | last post by:
I have a Word doc already created that I want to open from an asp page. I want it to open in Word and allow the user to modify if necessary. I currently have it opening (using href), but it is...
3
by: Andy Davis | last post by:
How do i or can I open a word document directly from Access? I would like to be able for the user to click a button on my form to open a word document and then also run a macro in Word. Thanks...
1
by: chrisben | last post by:
Hi, Is there a quick easy way to search a text for words in richtextbox? I would like to make it work as a word document, as the having Find, Find Next by right click the richtextbox. THe...
3
by: Jeff Haumesser | last post by:
Does anyone know a way to display RTF text in a word document? I have RTF text from a dataset, and wish to display the text Formatted in a Word document. The problem is that the format codes are...
3
by: sss024 | last post by:
Word document viewing in RichTextBox control
4
by: Fabian | last post by:
Hello, I want to open a Word Document in my C# Programm. I tried this : Word.Application wordapp = new Word.Application(); object path = "TEST.DOC"; object vk_read_only = false; object...
0
by: Niyazi | last post by:
Hi, I created application that store the data in SQL SERVER that reside on network. The client also use this application to access the resources provided with application. But is the client want...
0
by: RKovach | last post by:
I am automating Word and getting the existing instance if available using the following: Word.Application oWord = null; Word.Document oDoc = null; object oMissing =...
7
by: Peter | last post by:
ASP.NET 2.0 I am trying to open a Word document and Excel document from a dialog web page, what's the best way to do that? I have tried the following: Response.Clear();...
2
by: saketmayur | last post by:
Hi , I have write the following code to open word document on server using Microsoft.Office.Interop.Word; string DocPath = System.Configuration.ConfigurationManager.AppSettings; ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.