Pass word documento to CR using VB.NET2002

Posted on 2006-05-13
Last Modified: 2008-02-01
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 ?

Question by:jpaulino
    LVL 7

    Expert Comment


    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.
    LVL 48

    Author Comment

    What I want is to do it dynamically, depending of the user selection ... after reading my SQL db.
    LVL 42

    Accepted Solution

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
    There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now