Is it possible to start Excel as a COM server anonymously?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I want to be able to start Excel as a COM server remotely or anonymously, without the user actually logging into the machine that Excel is installed on. This could be through using XLSREAD, XLSWRITE, or connecting to Excel through ACTXSERVER.
Respuesta aceptada
MathWorks Support Team
el 27 de Jun. de 2009
In order to be able to start Excel as a COM server anonymously, you must ensure that the user that is executing the application has appropriate permissions. Follow the steps given below to check and, if necessary, set the permissions
1. Click Start -> Settings -> Control Panel -> Administrative Tools -> Component Services
2. Open the 'Component Services' tree, 'Computer', and double-click on 'My Computer'.
3. Right-click My Computer and choose Properties. Navigate to the COM Security tab
4. For 'Access Permissions' and 'Launch and Activation Permissions', ensure that the user that is trying to start the compiled application has 'Local' permissions. For each of these subsections, ensure that you have clicked both 'Edit Limits' and 'Edit Default'.
5. Next, from the main panel, double-click on DCOM Config, right-click on Microsoft Excel Application and choose Properties.
6. Navigate to the Security tab, and ensure that for 'Access Permissions' and 'Launch and Activation Permissions', the 'Use Default' radio button is selected.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Use COM Objects in MATLAB en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!