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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DCOM for Dummies?

Status
Not open for further replies.

jasonp45

Programmer
Aug 23, 2001
212
US
I have no clue what DCOM is or how it works. I browsed some stuff on MSDN but it wasn't very enlightening.

What I have is a VB program on one machine on my intranet; I want to have it execute some stuff on another machine on my intranet and have the processing occur on the remote machine.

After I've used and debugged my code I will eventually compile it, but I don't plan on packaging or distributing it.

Can someone provide some simple code samples of an actual DCOM project, and maybe give me some insight on how to approach my task?

Thanks in advance.
 
Hey!!
If your working in VB it's pretty easy to create a DCOM or COM objects, which is basically an ActiveX Object. Well, they're not exactly the same, but an ActiveX Object is a COM object ,but more advanced. If you have the Enterprise Edition of VB you should be able to create a project of type ActiveX Object or ActivwX DLL. I think these will solve your problem.

If you go to MSDN and look for creating ActiveX modules in VB you should get a really good walk through on the basics. If you don't want to work ActiveX you could always do it another way. You could use client/server and connect the 2 machine with Sockets. There are many pre-made Socket objects for VB. That would make a more direct connection.

There are many other ways I could think of instead COM, which would work fine.


Well, good luck!
Clayton T. Paige
cpaige@home.com
Clayton T. Paige

Programmer Extraordinaire

========================================================

"Who is General Failure? and Why is he reading my disk drive?"
 
Oops!

Note that the sample source code isn't available online anymore. This web page assumes you have the MSDN CDs on-hand - which you should.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top