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 3 1337
BTW, I have also tried sign my assembly, didn't work either.
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********@gma il.comwrote in message
news:11******** **************@ q2g2000cwa.goog legroups.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
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 incompatibiliti es.
And of course, MCE comes with .NET framework.
Regards This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
supported by Isam".
I tried to use FSO to write to the excel file, but seems like FSO
support write to only text file.
|
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 left
running until my application closes.
I have tried setting my Excel.Application object to Nothing.
I have tried to then fore the GC into action using:
|
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 Excel.Range
oExcel = CreateObject("Excel.Application")
oBook = oExcel.Workbooks.Add
oSheet = oBook.Worksheets(1)
|
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 automation breaks on those
machines. Does coding to the earliest supported version of Excel not apply
once you get to 2003?
|
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 lost
on how to export my datagrid contents to Excel?
I am sure it can be done but having difficulties figuring out the code.
| |
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 I was not able to use those, is this feature
disabled or what is wrong ?
TIA
|
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 model has changed and I'm now getting
errors such as:
'Excel.Application' does not contain a definition for 'Visible'
I'm getting similar errors with every call I'm making to the object.
I've tried creating the objects with type...
|
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 Excel. For example
I want to specify command line switches, or prevent certain ComAdd-ins from
loading when I start Excel.
|
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 format anywhere?
Is there any c# class that will let me do this?
|
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 line graph be created from
Access as part of the automation process? Is it also possible to rename the
Excel worksheets from Access?
Thanks.
Keith.
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |