asp chart.export method

Posted on 2006-04-21
Last Modified: 2008-01-09

i am trying to get this implemented

but it seems to be bombing out when I try to export the jpg

crt.Chart.Export server.mappath("\planmain\sfi") & "\" & mstrFileName, "jpg"

error I am getting is

Error Type:
Microsoft VBScript runtime (0x800A03EC)
Unknown runtime error
/planmain/sfi/10MinChart.asp, line 152

cant figure it out.

Question by:mrferrari
    LVL 15

    Expert Comment

    well try this out
    crt.Chart.Export server.mappath("\planmain\sfi") & "\" & mstrFileName & "jpg"

    Author Comment

    no luck.

    Ive decided to go with this. it is cheap and seems to work great.
    LVL 15

    Accepted Solution


    Author Comment


    i looked into that, but it seems that it required the end user to have office 2000 or 2003.
    LVL 15

    Expert Comment

    well it is not mandatory to have office 2000 or 2003 installed
    You just need to register one DLL which is OWC11.DLL

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
    I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    755 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

    21 Experts available now in Live!

    Get 1:1 Help Now