OWC 10 ChartSpace ExportPicture - what the hell....

S

Slawomir Zurek

Hi,

I'm totally confused - I'm writing smal .Net C# program making use of
WebBrowser control, OWC10 Pivot table and OWC10 ChartSpace. Now i want to
export picture from chartspace object, so I'm making following call:

owcCh.ExportPicture("C:\\Test.gif","gif",640,480)


but instead of saving file, i'm brutally attacked (;-)) with question box:
Title: Microsoft Office Chart
Body: The program is trying to save file on hard disk "/c:/Test.gif". if the
file exists it will be overwritten....... (etc, etc)
Buttons: Yes/No

Please notice strange file path .... !!! Anybody knows, what is it - ? I
never seen such a message, so i completly confused....

Thanks for any suggestion, how to get rid of this message box.....

Slawek

PS: I'm using Internet Explorer 7.0 (this could be important)
 
V

vapor

Do you need the web browser control? If it is a C# application, you can use
a Windows form and the OWC completely bypassing the web browser control. If
you need the control, add the site to Internet explorer trusted sites.
--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top