473,395 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

C#/Excel automation add-in not working on MediaCenter?

I have written a simple Excel automation add-in using c#. It works
fine on my WinXP PC, but does not work on my MediaCenter PC. The
sympton is that the add-in is shown in the add-in list but all the
functions are not available (i.e. when you open the function help
dialoug, these functions are not displayed, actually even the assembly
is not shown in the category.)

I have tried (1) recompile the code on the MediaCenter, (2) manually
register the code compiled on XP, (3) run a setup program created using
visual studio. None of them worked.

I guess there may be something specific on the MediaCenter machine or
some Excel configuration (e.g. security etc). But I just couldn't
figure it out. Any suggestions and recommendations, or even wildest
guess, are welcomed.

My environment: Visual Studio 2005, Excel 2003

Jan 27 '07 #1
3 1322
BTW, I have also tried sign my assembly, didn't work either.

Jan 27 '07 #2
My interest,

I would rather point the fingers to the environment. Did you verify if all
support assemblies you are using - or COM objects - are properly installed
and have the same version as you have on the XP machine.

In fact, Media Center it's almost the same Windows (to not say the same) as
the XP. It only has the Media Center application added to the system. As
well as a notepad application.

If you are using VSTO, make sure everything looks the same as your XP
machine.

I hope it helps.

--
Regards,
Robson Siqueira
Enterprise Architect
"My interest" <my********@gmail.comwrote in message
news:11**********************@q2g2000cwa.googlegro ups.com...
>I have written a simple Excel automation add-in using c#. It works
fine on my WinXP PC, but does not work on my MediaCenter PC. The
sympton is that the add-in is shown in the add-in list but all the
functions are not available (i.e. when you open the function help
dialoug, these functions are not displayed, actually even the assembly
is not shown in the category.)

I have tried (1) recompile the code on the MediaCenter, (2) manually
register the code compiled on XP, (3) run a setup program created using
visual studio. None of them worked.

I guess there may be something specific on the MediaCenter machine or
some Excel configuration (e.g. security etc). But I just couldn't
figure it out. Any suggestions and recommendations, or even wildest
guess, are welcomed.

My environment: Visual Studio 2005, Excel 2003

Jan 27 '07 #3
Robson Siqueira wrote:
My interest,

I would rather point the fingers to the environment. Did you verify if all
support assemblies you are using - or COM objects - are properly installed
and have the same version as you have on the XP machine.

In fact, Media Center it's almost the same Windows (to not say the same) as
the XP. It only has the Media Center application added to the system. As
well as a notepad application.
I don't think that is the case entirely. There are other things added
to the system, typically by integrators such as dell. My system came
with way too many extra MCE add-ins. Those add-ins could potentially
introduce incompatibilities.

And of course, MCE comes with .NET framework.

Regards
Jan 28 '07 #4

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

Similar topics

1
by: dlakme | last post by:
Hi, I tried to add column headers and delete all rows to excel database which is a linked server to my sql server db. I got an error message, "delete data through linked server is not...
12
by: elziko | last post by:
I'm using late binding (I must) to automate Excel. My code opens Excel after createing and poulating some sheets. My problem is that when the user finally decides to close Excel its process is...
4
by: goonsquad | last post by:
I'm writing an Excel Automation app and I'm running to a problem early on with what should be a basic step. Dim oExcel As Object Dim oBook As Object Dim oSheet As Object Dim oRng As...
0
by: Troy | last post by:
I have VB.Net code that opens Excel files and imports data from them. It works fine for all versions up to 2003 and has for over a year. We have users updating to Office 2003 and the Excel...
3
by: Mike | last post by:
Hello, I am attempting to export the contents of a datagrid on my webform (using Excel automation) through ASP.NET. I have added the Excel object library to my VS ASP.NET project but I am...
3
by: Gultekin Komanli | last post by:
Hi all, I'm new to .NET stuff and trying find a way to do automation with Excel, using VB 2005 EE. I searched this forum, there are samples that use some namespaces for office automation but...
0
by: mward | last post by:
I just upgraded my Office 2003 to SP2 and am having problems with my Excel automation code from C#. The version of Excel.exe that I'm now using is 11.0.8033.0. It appears as though the object...
3
by: Tim Marsden | last post by:
Hi, I am currently creating an instance of Excel using VB.NET Automation. dim xl as Excel.Application xl = new Excel.Application However, how can I have more control over the starting of...
18
by: John Bailo | last post by:
I want to write an Excel file (.xls format) from some database data. I don't want to use Excel.exe because of all the automation and security issues. Does Microsoft document the .xls file...
4
by: Keith Wilby | last post by:
How controllable from Access VBA is Excel? I'm currently using automation to dump 2 columns of data into an Excel spreadsheet so that the end user can create a line graph based on it. Could the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.