473,466 Members | 1,451 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Building Excel Real-Time Data Components in Visual Basic .NET

I followed the instructions here to build an Excel RTD server:

http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx

This works fine on XP but crashes (very badly) in Vista. When the
Timer expires (and calls m_xlRTDUpdate.UpdateNotify()) I get the scary
exception:

Unable to cast COM object of type 'System.__ComObject' to interface
type 'Microsoft.Office.Interop.Excel.IRTDUpdateEvent'. This operation
failed because the QueryInterface call on the COM component for the
interface with IID '{A43788C1-D91B-11D3-8F39-00C04F3651B8}' failed due
to the following error: No such interface supported (Exception from
HRESULT: 0x80004002 (E_NOINTERFACE)).

I don't know what else to provide except that I've tried everything
(including different threads, threading models, singletons, etc).

Any ideas?

Thanks,

David Demner

Sep 17 '07 #1
0 1492

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Utada P.W. SIU | last post by:
Dear All, I have writing a ASP that export an Excel file by using response.contentType = "application/vnd.ms-excel" I can export an Excel However, the grey color gridline is missed, how can I...
4
by: Jane | last post by:
I got the web application to open up the excel. It works fine on my development box. But when i moved it to the production server, I cannot get the Excel spreadsheet to open. I get...
1
by: Kelly B. | last post by:
Hello I've created a customer database for the company I work for. Now I've started on building a work order, which will be related to It. Basically, I need to build a form to accept shirt size...
8
by: deko | last post by:
When using automation (and especially with early binding) I've heard it is best to use explicit references to everything. For example: Dim xlChart as Excel.Chart rather than Dim objChart...
2
by: michaellm | last post by:
Hi ALL, In VB.Net, I create an Excel as followed: Dim excelapp As New Excel.Application Dim oWB As Excel.Workbook Dim oSheet As Excel.Worksheet ' Get a new workbook. oWB =...
27
by: jeniffer | last post by:
I need to create an excel file through a C program and then to populate it.How can it be done?
6
by: berndh | last post by:
Hi, I have a need to update all price fields in an SQL database. The new prices are in an excel spreadsheet (c:\db\update.xls). Unfortunately the structure of the Excel file is not the same as...
4
by: dinoo | last post by:
I would appreciate if some one could help me out with this problem. I am trying to export the datagrid to an excel file in ASP.NET. The functionality works fine. But I would like to setup the...
5
kcdoell
by: kcdoell | last post by:
I have a form that I want to change the way the subform (continuous) is displaying the info (the sort order). In another words, I want to give the user the ability to see the same information in...
3
by: stephen | last post by:
Hi, I have 5 excel files and they have multiple sheets. I have to read (say sheet 3) of each of the 5 excel files and consolidate them into one. what's the best way to achieve this. if someone...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.