[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 490
  • Last Modified:

I want to display the word document in the crystal report using c#.

I want to display the word document in the crystal report using c#.
 
0
davinder101
Asked:
davinder101
1 Solution
 
peter57rCommented:
I don't know the answer to your Q - I don't do C#.

But you can only display the first page of a Word document in a report (in an OLEObject) so if you were hoping to do more than that then you may have to look for a different solution.
0
 
davinder101Author Commented:
ok, so how can we display the first page through C#?

Please suggest if there is any other alternate solution.
0
 
mlmccCommented:
Are you trying to change the document being shown based on something in the data?
I don't believe that is possible.

To show a document
Open the report
Add an OLE object
Size it as appropriate
RIght click it
Choose FORMAT
Set the properties to the file

mlmcc
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now