Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a Remote Access to Excel.Application
Message
From
02/11/2005 14:10:22
 
 
To
02/11/2005 10:53:07
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Miscellaneous
Thread ID:
01064497
Message ID:
01064649
Views:
14
>Excel is not installed on the server SQL. I need to create an object in my VB Script code, in an ActiveX task (local package). The problem is about security context of SQL account of the server... it cannot access to network. Then I wonder if the use of a COM object within my VB script code could be a solution...
>
>xlApp = CreateObject("Excel.Application", "\\MyServer")

To access network resources you would still need to have a network account. But you may be able to achieve this by using ADO and the Jet provider + an excel file template. All within the SQL Server of course. If Excel is not installed then you cannot create Excel files this way.

(I assume you are trying to create an Excel file using a DTS package with "ActiveX" scripts in the SS)
Previous
Reply
Map
View

Click here to load this message in the networking platform