.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

RTF documents not displaying in rich text box (word pad) ,but able to open using MS office Word

Posted By:      Posted Date: September 23, 2010    Points: 0   Category :Windows Application

hi there ,

my application has a rich text box ,where rtf files are opened and processed . 90% of the time am able to load this with out any trouble . but rest 10% of the rtf files are not displayed in the rich text box (though they are able to load )

And also i have observed a weird behavior : IF the number of pages of this rtf files are stripped off (from  100 to 10 ) the same are displayed .

Is there any limit for the the number of pages in RTB (rich text bOx) .

thanks in advance 


View Complete Post

More Related Resource Links

SharPoint 2010 : Open word and excel documents within Browser without installing office Web App on S

guys, SharePoint 2010 how can i have the word documents and excel sheets open up with in the browse windows without installing Office Web App on the server, all i want to give users is the read access. Also i did not install anyting on sharepoint server to have pdf open up in the browser and yet it does. thanks in advance. sameer   thanks sameer

Office Services: Merging Word Documents on the Server Side with SharePoint 2010


Office 2010 and SharePoint 2010 include a new set of components called Application Services. These put a rich set of tools in a developer's bag for Office automation. We'll show you how to use Office OpenXML, Word Automation Services and SharePoint to build a simple application that merges separate status reports into a single document.

Manvir Singh, Ankush Bhatia

MSDN Magazine July 2010

Can I search Office Documents (Excel, Word etc) in WSS 3.0 without having to install MS Office?



Does WSS 3.0 come with the filters for searching MS Office Documents or do you have to have MS Office installed on WSS 3.0 Server?



how to open force SharePoint 2010 to open documents withint the browser instead of invoking word app

guys, when user clicks on the word document within a document library, it opens up in the word IDE , how can i change this so that documents opens up in the browser. the "Library settings\ advanced settings\ open documents in the browser" setting is set to "open in the browser"   thanks sameer

SharePoint 2010 Office Web Apps "Word Web App cannot open this document for viewing because of an un

<label id="message" class="WACStandardDialogLabel">I have provisioned a SharePoint 2010 Server (RTM: 14.0.4762.1000)  with Office Web Apps.</label> <label class="WACStandardDialogLabel">It is a single server with a separate SQl 2008 Standard server.</label> <label class="WACStandardDialogLabel">I have seen that there were some issues in site that were configured with a port.  The Web Application I am having issues with is running on a port  and is extended on 443 as well.</label> <label class="WACStandardDialogLabel">I can view PPTX but Word docx files can't be viewed.  The word docx files howerver can be edited in the browser.</label> <label class="WACStandardDialogLabel">I get the following error when I try to view a word file in the browser:</label> <label class="WACStandardDialogLabel"></label> "Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word. Error Id: 7f644fec-c2d7-4387-b280-31a4647afea1, 20100509213834 " I am seeing an error in the event log that identifies the Application Service account (that includes the Word Viewer Service) can't access the portal site collection database.  -I am using the appl

Remove Word Style once copy and paste content to Rich text Editor in sharepoint 2010

Hi Guys, I have page layout for Users to add content for Page.I have site column for page content on field type HTML with Richtextmode="FUll Html". Now when user cut and paste content from Word document in this Field it carry word document style. how can i control this content on Page layout with CSS. Please adviseThanks Ron

How to open and read Word content using Open XML SDK 2.0 for Microsoft Office?

Hello, I've built a component to read a Word Document and open it in silverlight, so I'm interested in Open XML SDK 2.0 for Microsoft Office, I read the document about this and some several examples, they're just talk about read the Headers, Comment,...and also I want to read the Word content.   Please help me, thank you.

Word 2007 documents won't open from Sharepoint Services site

I have a Sharepoint Services 3.0 site that contains shared documents, Word, Excel, PDF, etc.  I cannot open Word documents directly from the shared documents portal.  Other file types like Excel adn PDF open fine.  It's only Word that has the issue.  I'm using Word 2007 and it doesn't matter if it is a .docx or a .doc, both act the same.  Word tries tro open, then just sits there....no error message or anything.  Any help would be greatly appreciated!

Long delay opening Word documents from SharePoint 2007 with Office 2010


The first time a document is opened it's fine, opens in just a few seconds.

Subsequently, there is a long delay (about 20 seconds) in the "Contacting server for information..." step.

This happens to all users and all documents, each one will open fast the first time then slowly the second and subsequent times (until, we think, the app pool is recycled - there is no schedules iisreset/reboot).

This does not happen when using Office 2007.

IE6 and 7 exhibit the same behaviour.

Sometimes sharepoint documents won't open until i close all word documents



I'm running into an issue with our sharepoint setup, and for some reason i'm the only one in the company having this issue.

When opening word documents from sharepoint every now and then (not everytime) my computer gives word focus, but the requested document doesn't load. I have to close the all word documents, click the document link again in sharepoint and then the sharepoint document opens.

When this happens I can still open local documents and sometimes I can have 5 sharepoint documents open but other times i can only have 2 or 1 document open. Even when working with the same documents.

I am completely lost as to where to start looking (Tried google, didn't find anything) but 

- it's not reproducable, it happens often but not when you try to trigger it
- it doesn't happen with the same file all the time
- it doesn't happen after the same number of files every time
- it only happens to me.
- word can still open local files when it happens

The setup is:
- sharepoint 2007
- windows 7
- office 2010

So I am somehow inclined to think it's a client issue as i'm the only one having it (all laptops were initially installed using the same image) but then again it's only happening with sharepoint documents.

If anybody could help me or point me in a general direct

Cannot open Word document from sharepoint Shared Documents folder


Hey Every body

I have a very strange problem. Our Company has a Microsoft Office Sharepoint Server 2007 solution running as our company Intranet solution. 

We have a solution where outside users, can gain access to a workspace site on Sharepoint where diffrent people can work together on projects that involves both out side users and internal staff. 
We have a folder called shares documents here we can upload documents that we want the other memebers off this workspace too see.
The problem is that internal staff can open up Word documents directly, but the external users are not able to open up directly these Word documents. Word just sayes that that is is unabel to open up the word document.
But when the users download the documents instead it works fine.

I have tries with both offcie 2003 and office 2007 and the problem is the same. But if i try to open up these documens via Open Office the problem due not exits, then is works fine. Why does Microsoft Word have these problems?

And is it just when the external users are opening up the documents directly from the sahred Documens folder that we have this problem.

The external users are connecting to our Citrix Netscaller security solution for authenticating purpoes first, after they have been validated through this solution, they ar

Microsoft Office Excel cannot open or save any more documents because there is not enough available


hi all,

     i am new to asp.net programming i am trying to create an ms excel file with charts drawn in it,

i wrote the complete code for it but the it is saying

Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. 

i have set the permissions to my complete disk space and all user accounts, and i tried with anti-virus disabling also it didnt work please try to help me out and my code is :

Imports System.Data.OleDb
Imports Microsoft.Office.Interop
Imports Microsoft.Office.Tools.Excel
Imports System

Office Space: From VBA Macro to Word Add-in


See how to use Word to capture a VBA macro and use Visual Studio Tools for Office to wrap it up into a deployable Word add-in.

Robert Bogue

MSDN Magazine May 2008

OFFICE UI: New VSTO Features Help You Customize Word And Outlook


See how to use Microsoft Visual Studio Tools for the Microsoft Office System to build powerful custom applications against the 2007 Microsoft Office system.

Steve Fox and Paul Stubbs

MSDN Magazine June 2007

Advanced Basics: Setting Word Document Properties the Office 2007 Way


The last time I wrote this column (March 2006), I shared an application that allows you to update all the Microsoft® Word documents in a folder and its subfolders. Each time the application finds a document in the specified path, it updates the document properties to match those you specified in the application.

Ken Getz

MSDN Magazine June 2006

Beyond Macros: Create Word and Excel Smart Documents with C++ and XML


One of the coolest new parts of Office 2003 is a programmability feature called Smart Documents, which allows developers to augment Word and Excel documents with programmable content and behavior. Typically, examples illustrating Office programmability use Visual Basic or Visual Basic .NET. In this article, the author develops a Smart Document for Excel using C++. He describes the new ISmartDocument interface and shows how to use it to manage a simple task list such as an Excel spreadsheet.

Mike Kelly

MSDN Magazine December 2003

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend