Ole Container not showing

E-KE-K
edited May 2012 in FastReport 4.0
Hello,

Am new to fast reports and following the examples for showing a word document I wrote the following code,

TfrxOLEView(FReport.FindObject('OLE1')).OleContainer.CreateObjectFromFile('D:\test.doc', false);
FReport.ShowReport(True);

But it does not show anything on the page

1. The test document is of four pages
2. The Master Data that the OleView is contained in is set to stretch as well as the OleView itself

What could i be missing?

Please assist

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.