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

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 381
  • Last Modified:

Pass word documento to CR using VB.NET2002

Hi experts,

I want to open a word document and pass it to a crOleObject (keeping the format)

Is it possible and does anyone have a good example of it ?

1 Solution

If you just want to display the contents of your Word document:
From the menu choose Insert/OLE Object.../Create From File and navigate to your file to select it.
jpaulinoAuthor Commented:
What I want is to do it dynamically, depending of the user selection ... after reading my SQL db.
jpaulino -

With VB.Net 2003 the only way you're going to be able to do this is by inserting the Word document as a BLOB into your database and having Crystal pull it from there.  You can conditionally suppress whether it's visible based on user selection but you'll need to pull it in regardless.  The version you're working with doesn't support dynamic loading the way you want to use it.


Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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