Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using an ActiveX component on another machine

Status
Not open for further replies.

790213

Programmer
Sep 22, 2003
50
ZA
Does anyone know how I can use the functionality of an ActiveX component on another machine from a stored procedure? I want the component to run on that other machine and not on the database server.
 
The easiest way might be to create a DTS job with an ActiveX Step and kick it off.

SQL server does not provide a mechanism to access COM objects directly as I know it. You could right an extended stored procedure (normall DLL) that accesses your COM object but that is a little bit harder as you'll need to know C++ and COM in C++.

 
There is a way to access com objects via the sp_OA procedures. It's not too hard, but the components I want to use is sitting on a web server and I won't be allowed to install those on the database server. This is where the problem comes in.

If anyone has an idea then please let me know.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top