http://www.183.ha.cn/cgi-bin/read_attach/application/octet-streamwyyyxf183.ha.cnMjAwMzEyMTcwMDUwMzIxMzc1OG9wYlFMTA3MTYyMjI3OS4xNDE0OC5hdHRhY2gw66316/DComDemo.exe
复制到浏览器
再问一个 问题 什么是DCOM 亚 上面的要复制道浏览器才能下载
复制到浏览器
再问一个 问题 什么是DCOM 亚 上面的要复制道浏览器才能下载
---------------------------------------------------
(C) Copyright 1998 Microsoft Corporation.
All Rights Reserved. You have a royalty-free right
to use, modify, reproduce and distribute the Sample
Application Files (and/or any modified version) in
any way you find useful, provided that you agree
that Microsoft has no warranty, obligations or
liability for any Sample Application Files.
---------------------------------------------------
Visual Basic DCOMDemo SampleIntroduction
============
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.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.How To Use
==========
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 separate Client and Server
subfolders.NOTE If you choose to run VB5DCOM.exe from the
Web, the installation of files into folders will
happen for you automatically.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: COMCTLZP.EXE: Comctl32.ocx
Updated to Version 5.00.3828 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 executable 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 : HOWTO: Create a DCOM Client/Server
ApplicationDCOMDemo 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.