DCOMDemo readme file:

In the Enterprise Edition of Visual Basic for Windows version 5.0, you can use the Distributed Component Object Model (DCOM) to perform client/server operations. This sample shows you how to create a client/server application that uses DCOM to perform remote callbacks and use remote server events.

WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS SAMPLE IS AT YOUR OWN RISK.
Microsoft provides this code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

This Visual Basic 5.0 sample application demonstrates how to use WithEvents and CallBacks remotely via DCOM. It also addresses all of the security settings that are required to make DCOM function correctly using DCOM Config. It even demonstrates how to check a client machines registry to confirm that DCOM is installed on WIN95 platforms and enabled on WINNT platforms. If DCOM is not present on the WIN95 machine then it presents the user with the opportunity to immediately download the necessary DCOM files from the Microsoft web site.

Place the file VB5DCOM.exe in a root directory of a drive that has at least 150KB of available space. This a self extracting executable so it will create the proper folders for you and place all the files in there respective locations.
Execute the file VB5DCOM.exe. You will now have a DCOMDemo folder with seperate Client and Server subfolders.

If you do not have the latest version of COMCTL32.OCX version 5.00.3828 then you will want to get it.
For more information about updating COMCTL32.OCX, please see the following article in the Microsoft Knowledge Base:

   Article-ID: Q167121
   Title     : FILE: Updated Comctl32.ocx Version 5.00.3828 Available

After you have installed the updated COMCTL32.OCX then:
Open the server project ...\DCOMDemo\Server\DCOMDemoServer.vbp.
In the projects properties, make sure that the "remote server files" option on the component tab is checked and make an exectuable of the server. The server will now be registered on your machine and you will have a .vbr file containing the registry entries for the server.
Close the server project.

Open the client project ...\DCOMDemo\Client\DCOMDemoClient.vbp.
Set a reference to the DCOMDemoServer in the projects references.
Run the project locally to check for problems before distributing to other machines for testing remotely.

Please see the included file ...\DCOMDemo\Permissions.txt if you encounter problems.

For more information about distributing DCOM applications, please see the following article in the Microsoft Knowledge Base:

   Article-ID: Q161837
   Title     : How to Create a DCOM Client / Server Application

DCOMDemo sample prepared by Randy Russell with Microsoft Visual Basic 5.0.
Thanks for the help Ed Beck.

THIS SAMPLE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
