|
-
Mar 10th, 2005, 06:18 AM
#1
DCOM Question with VB.NET [resolved]
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:
Cannot create ActiveX component
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.
Can someone explain to me what I need to do on the remote machine with DCOMCNFG.EXE?
Last edited by mendhak; Mar 11th, 2005 at 12:55 AM.
-
Mar 10th, 2005, 05:02 PM
#2
Re: DCOM Question with VB.NET
This is all you need. Take a deep breath and dig in.
http://www.vbforums.com/showthread.p...highlight=DCOM
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Mar 11th, 2005, 12:55 AM
#3
Re: DCOM Question with VB.NET
Thanks for the link, I'm glad to know I was on the right path.
-
Mar 11th, 2005, 09:20 AM
#4
Re: DCOM Question with VB.NET [resolved]
Be ye warned: XP SP2 severely hampers (breaks) the operation of DCOM.
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|