Skip to Content
Learning DCOM
book

Learning DCOM

by Thuan L. Thai
April 1999
Intermediate to advanced
502 pages
15h 5m
English
O'Reilly Media, Inc.
Content preview from Learning DCOM

Web-Enabled Clients

If you look into the project directory for the ATLCyberServer component, you will see an HTML file (ATLCyberOcr.htm) that embeds the ATLCyberOcr ActiveX control. The ATL Object Wizard is so sure that you will distribute your ActiveX control across the web that it generates this file for you. You will update this web page and turn it into a thin, web-enabled client. At the end of this section, you will have built a web page as shown in Figure 8-6. Just like any other web page, this one can be downloaded from a web server and displayed within Internet Explorer (IE 3.0 or greater). Since IE is an ActiveX container, it can house ActiveX controls.

A thin web-based client

Figure 8-6. A thin web-based client

Let’s briefly describe this web page. It contains a simple table with seven rows, as described below:

  1. The first row is trivial, as it simply displays some text.

  2. The second row is composed of six pushbuttons that allow a user to specify the preferred choice.

  3. The third row is split into two columns. The right column allows a user to enter the remote server address for the target OCRServer component, which was developed in Chapter 6.

  4. The fourth row allows a user to enter the full path and image file of the image to be OCR processed.

  5. The fifth row contains the Wang Image Edit ActiveX control, which is a fully capable image viewer developed by Wang and is shipped freely with Windows NT (4.0 and above). ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET and COM: The Complete Interoperability Guide

.NET and COM: The Complete Interoperability Guide

Adam Nathan
Windows 7 Device Driver

Windows 7 Device Driver

Ph.D. Ronald D. Reeves

Publisher Resources

ISBN: 9781449307011Supplemental ContentErrata Page