LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default reference vsto Excel ListObject in Vb.Net 2005 project/app

Please don't tell me to search the knowledge base or look for sample because
there are no samples that address this.

if possible, how can I reference the visual studio tools for office version
of the Excel ListObject in my VB.Net project/app. The .Net wrapped version
allows me to bind to the listobject. The native Interop version does not.
Microsoft seems to be beating around the bush about how to do this or if
it's possible.

I've tried XMLImportXML from the native workbook object but it seems to run
slow after I get to a few thousand records. When I create an Office Excel
app/workbook with VS 2005 to populate my spreadsheet from the same dataset,
it takes 5 seconds versus 30.

in my vb.net app (2005) I'm doing something like this.
dim xapp as new microsoft.office.interop.excel.application
dim xbook as microsoft.office.tools.excel.workbook = xapp.workbooks.add

this doesn't work because you can't cast a .net wrapped object to a native
interopp object

btw there is no microsoft.office.tools.excel.application. WHY???!!!!!!
so what now?????
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert alphanumerical(eg. 12.11.2005) to date as 12-Nov-2005 in e Safi Excel Discussion (Misc queries) 3 June 1st 06 04:35 PM
ListObject in Excel 2000 ? NJ Excel Guru Excel Discussion (Misc queries) 1 November 15th 05 12:40 PM
chnage date from tuesday 4 January 2005 10:39.26 to 04/01/2005 Jonny1975 Excel Worksheet Functions 1 June 6th 05 10:13 AM
Changing reference to Word in Excel project Ed[_18_] Excel Programming 5 May 3rd 04 07:08 PM
how to remove a reference from Excel project? A J Excel Programming 0 October 23rd 03 05:11 PM


All times are GMT +1. The time now is 08:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"