none
How-to: Reference embedded Excel spreadsheet (C#)

    Question

  • In Visual Studio 2008, how do you access an embedded spreadsheet (.xls) file? I'm reading in two .xls files to create two data table (OleDB), and I'd like a way to "hard code" the file into the project for internal referencing (instead of having to reference a path/directory).

    Any help would be great. Thanks in advance!


    • Moved by Nancy Shao Monday, November 02, 2009 1:48 AM Not appropriate forum (From:Visual Studio Extensibility)
    Sunday, October 25, 2009 5:31 PM

All replies

  • Hi,

    Based on my understanding, this question is not related to Visual Studio Extensibility, but more related to Visual Studio Tools for Office. If so, I highly suggest you post this question in our VSTO forum with link:

    http://social.msdn.microsoft.com/Forums/en-US/vsto/threads

    And you will get better support if you post the question in right forum.

    If I misunderstood you, or you have any questions, please let me know.

    Best Regards,
    Nancy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, October 27, 2009 8:07 AM