I'm just learning DCOM. So, I begun to learn with scratch.
I found such example in MS VBScript reference:
Dim ExcelApp
Set ExcelApp =
CreateObject("Excel.Application", "host_name"
ExcelApp.Visible = True
ExcelApp.Quit
Set ExcelApp = Nothing
When I run this code with my machine name at "host_name" place, it works perfect, but when I specify another host name instead, script fails at second line with error:
ActiveX component can't create object: 'Excel.Application'
But when I run it from that another host it also works fine.
I've install dcom98 v1.3 on both machines. Hosts belong to the same domain and have no problems with connection to each other. With DCOMCNFG I enabled remote connection on both. It seems the problem is in an application type of "Excel Application" (remote/local server) wich I also tried to change in various values, but I'm not strong in DCOM configuration.
Could anyone help me to solve this problem?
I found such example in MS VBScript reference:
Dim ExcelApp
Set ExcelApp =
CreateObject("Excel.Application", "host_name"
ExcelApp.Visible = True
ExcelApp.Quit
Set ExcelApp = Nothing
When I run this code with my machine name at "host_name" place, it works perfect, but when I specify another host name instead, script fails at second line with error:
ActiveX component can't create object: 'Excel.Application'
But when I run it from that another host it also works fine.
I've install dcom98 v1.3 on both machines. Hosts belong to the same domain and have no problems with connection to each other. With DCOMCNFG I enabled remote connection on both. It seems the problem is in an application type of "Excel Application" (remote/local server) wich I also tried to change in various values, but I'm not strong in DCOM configuration.
Could anyone help me to solve this problem?