+ Reply to Thread
Results 1 to 2 of 2

Opening an Excel file in OWC10.AxSpreadSheet

  1. #1
    santhosh.b
    Guest

    Opening an Excel file in OWC10.AxSpreadSheet

    Hi,
    I am using OWC10.AxSpreadSheet in my windows application which I need to use
    to create XLS files as well as open XLS files using the same control. I was
    however able to create XLS file and store it in the localsystem using the
    Export method.
    axSpreadsheet2.Export("c:\\testexport.xls",OWC10.SheetExportActionEnum.
    ssExportActionNone,OWC10.SheetExportFormat.ssExportHTML);

    The challenge I am facing is to open an existing XLS file in the OWC10.
    AxSpreadSheet. Can any one please help me with this.

    Thanking you in advance,
    Santhosh

  2. #2
    Paul Hasell
    Guest

    RE: Opening an Excel file in OWC10.AxSpreadSheet

    Hi,

    I'm using the OWC11 version but I think it's the same...you can't open XLS
    files using the OWC. You'd need to save the original XLS file as an 'XML
    Spreadsheet' and then load into the OWC using the XMLUrl property. This
    property requires an appropriate 'protocol' at the start such as 'http:' or
    'file:' otherwise you'll get an 'unknown error'

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1