Hi Peter,
Thanks for your feedback. I have already read the knowledgebase article you
mentioned, however even after following the steps in this article we can not
make it work. We have raised an incident support ticket with Microsoft and
they have come back refering us to this article as well. We have not heard
any more from them even after informing them of the failure of this article
to resolve our issue.
I should have said that installing VSTO on our development machines is fine.
We are using Office profesional and VS 2003 Pro and are having no problems.
The problem occurs when we are trying to deploy on our clients workstation.
They already have Office 2003 Standard installed as part of their corporate
roll out.
I have been told I need to install Office 2003 Professional.
Uninstalling Office 2003 Standard, and installing Office 2003 Professional
doesn't work.
However using either Office Standard or Office Professional, I can make the
following demo work (I converted it to C# so it would run on a standard .Net
1.1 install without J#)
http://www.codeproject.com/dotnet/JExcel.asp
my version downloadable from:
http://www.enlightenhosting.com/mrp/NetExcel.zip
The main difference being of course that this is a .Net application that
controls excel, as opposed to an Excel workbook, that interacts with .Net
I find it interesting that this application works even with Excel from
Office standard. How is this so if Office standard doesn't support .Net
interop?
The issue we would like to resolve is taking a system that already has
Office standard on it, removing this (if necessary) and installing Office
Pro. Then making an excel spreadsheet with .Net interop run.
I have made available a little test Excel spreadsheet application. This
fails to fire any of the .Net events when installed on our clients machines.
You will need to set the .Net permissions on this to allow it to run from
the directory you put it in.
http://www.enlightenhosting.com/mrp/ProofOfConcept.zip
Thanks again for your help,
Flip
> Hi Flip,
>
[quoted text clipped - 43 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
"Peter Huang" [MSFT] - 27 Jan 2006 02:19 GMT
Hi Flip,
Thanks for your quickly reply!
The code sample about J# is discussing the COM automation technique which
is somewhat different from the VSTO.
In the Automation scenario, the Winform application is the main app which
will invoke the methods of the Office application. While in the VSTO
scenario, the Office application started, and it loaded the .NET assembly
via VSTO. That can be considered as the .NET version "VBA" code.
Due the VSTO projects requirement in MSDN document is Office Professional
version, that is by design.
For the .NET security issue for the VSTO, that is necessary for any VSTO
application. That is commonly done via the caspol tool. This job should be
done when we want to deploy the project on client side.
Microsoft Visual Studio Tools for Office Training
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto200
3_tr/html/odc_VSTMGBLab5.asp
For your concern about deployment, I think it would better to be addressed
in the Microsoft Advisory Service in my last post.
This newsgroup is mainly talking about how to develop.
Thanks for your understanding!
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Phil Rayner - 31 Jan 2006 02:32 GMT
Hi Peter,
Can you please advise me of a more appropriate news group to post in? I have
contacted Microsoft Support and raised an incident ticket with them, but
they are not responding to my e-mails. We are Microsoft Certified partners
and have five incident tickets available to us.
On deeper investigation it seems the client is having issues with VSTO,
Excel (from Office Pro), when MS-Access XP (from Office XP) is already
installed.
Can you confirm if this is indeed a product limitation of Excel (Office 2003
Pro), that VSTO will fail to load when Office XP (MS-Access only) is
installed in parallel with Office 2003 Pro?
thanks again for your help,
Flip
> Hi Flip,
>
[quoted text clipped - 31 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
"Peter Huang" [MSFT] - 31 Jan 2006 07:10 GMT
Hi
I think you may also try in the newsgroup below.
microsoft.public.vsnet.vstools.office
Also I do not think that the Office XP will prevent VSTO from working.
Based on my research, I did not find any similar case.
For your concern, that the Microsoft Support did not reply to you.
Have you tried to make a phone call to the Microsoft support directly?
Thanks for your understanding!
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.