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

x
  • 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 ?

tanks
0
jpaulino
Asked:
jpaulino
1 Solution
 
janmariniCommented:

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.
0
 
jpaulinoAuthor Commented:
What I want is to do it dynamically, depending of the user selection ... after reading my SQL db.
0
 
frodomanCommented:
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.

frodoman
0

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