PDA

Click to See Complete Forum and Search --> : [RESOLVED] COM with VB6 (Major Considerations)


anoopamis
Dec 28th, 2005, 03:09 PM
Access Services of a COM Component Residing on a Server from a Workstation

We are familiar with building Class modules and dlls in VB6. Can some one help us to clear there doubts

1, What are the major considerations while converting a ActiveX Dll to a COM Component
2, What is the right method of adding a COM component to Component services
3, How can a VB6 application running on a Windows 98 system access services of a COM Component Residing on a Windows 2000 server in the same network. Is MTS inevitable for this

Anoop & Harrison

Enthusiastic COM Aspirants

Dave Sell
Dec 29th, 2005, 10:05 AM
1: A Class in an ActiveX DLL is a COM component.

2,3: You can use DCOMCNFG.EXE on Windows 2000 sp4 to set up a DCOM server. MSDN has some downloads to enable DCOM on Win98 machines but I have never tried that.

Hack
Dec 29th, 2005, 10:27 AM
MSDN has some downloads to enable DCOM on Win98 machines but I have never tried that.I have, quite a while ago, and if memory serves me correctly, I had a mixed bag of results.

If you are going to be using a Win98 platform, I would expect some inconsistencies in the behavior of your component.

Dave Sell
Dec 29th, 2005, 10:33 AM
I agree; Win98 should not be used anymore for anything serious. I loved it back in the day, but it's time has LONG passed. Upgrade the Win98 box to at least W2K sp4 if you need to use DCOM.