I have the following in a .NET winform:
VB Code:
Try Dim objExcelApp As Object Dim lsIP As String = "192.168.1.194" 'IP of the other machin objExcelApp = CreateObject("Excel.Application", lsIP) Catch OBJEX As Exception Dim lsErrStr As String lsErrStr = OBJEX.Message MsgBox(lsErrStr) End Try
The error message I get is:
A bit of searching told me that the computer I'm trying to create the COM object on has to be "configured". Also, the word DCOMCNFG.EXE was thrown in there.Cannot create ActiveX component
Can someone explain to me what I need to do on the remote machine with DCOMCNFG.EXE?




Reply With Quote