What s New in Visual FoxPro 7.0

Similar documents
Cyan Sample. Forward T Software. Infotainment Channel Design Sample. Revision as of January 22, 2009 г. Instruction on Installation and Use

Device Management Requirements

Firmware Update Management Object Architecture

Firmware Update Management Object Architecture

Forward Т Software. SDI option. Revision as of December 19, Installation and Setup Guide. SoftLab-NSK Ltd.

Xpedition Layout for Package Design. Student Workbook

DM DiagMon Architecture

Guide to InTouch HMI Documentation Invensys Systems, Inc.

Device Management Requirements

ivw-fd122 Video Wall Controller MODEL: ivw-fd122 Video Wall Controller Supports 2 x 2 Video Wall Array User Manual Page i Rev. 1.

Wonderware Guide to InTouch HMI Documentation

CLIPSTER. 3D LUT File Generation with the Kodak Display Manager. Supplement

CELCAT Room Booker (CELCAT Live)

Mid Frequency Antennas Comparison in GaiaSpectrum Standard

ivw-fd133 Video Wall Controller MODEL: ivw-fd133 Video Wall Controller Supports 3 x 3 and 2 x 2 Video Wall Array User Manual Page i Rev. 1.

DM Scheduling Architecture

Modbus for SKF IMx and Analyst

Marketing Primo at Your Institution

Reference Release Definition for ConnMO

Clean Code.

OMA Device Management Server Delegation Protocol

Table of content. Table of content Introduction Concepts Hardware setup...4

New ILS Data Delivery Guidelines

AABB Trademark Usage Guidelines

ALEPH Z39.50 Client Conformance to U.S. National Z39.50 Profile (ANSI/NISO Z ) Version and Later

MaxView Cinema Kit Quick Install Guide

Extreme MINDSTORMS TM : An Advanced Guide to LEGO MINDSTORMS TM

HawkEye 1500 Series Quick Start Guide V2.4.1, Nov 2008

Device Management Push Binding

ForwardT Plugins. AutoDetect (SCTE-35) Automatic Ad insertion using SCTE-35 cue messages. Revision as of. October 28, User s Guide.

SecureFTP Procedure for Alma Implementing Customers

IoT Toolbox Mobile Application User Manual

RF Solution for LED Display Screen

THE INSIDER SECRETS TO EBOOK SELF-PUBLISHING

Developing Android on Android

Auro 11.1 update for ICMP. Installation manual

3 rd Party Interfaces. Version Installation and User Guide

SportReplay Multichannel Video Recording and Instant Replay system

ForwardT Software. Teletext. Receiving and Rebroadcasting Video Signal with Teletext. Revision as of February 17, Quick Start.

STB Front Panel User s Guide

Letters.org. SORRY LETTER TO AUNT. Included: Sorry Letter to Aunt

FAQ of DVB-S PI210. Copyright KWorld Computer Co., Ltd. All rights are reserved. October 24, 2007

Join the p2p.wrox.com. Wrox Programmer to Programmer. Beginning. Python. Using Python 2.6 and Python 3.1. James Payne

Wireless VGA Extender LR. GTV-WVGA-LR. User Manual

User Manual for ICP DAS WISE Monitoring IoT Kit -Microsoft Azure IoT Starter Kit-

4X1 Gefen TV Switcher GTV-HDMI N. User Manual

OPERATING YOUR SYSTEM WITH MX-850

Copyright and Disclaimer

Application Note. PICOLO Alert, Sharing the Digitizing Power

administration access control A security feature that determines who can edit the configuration settings for a given Transmitter.

Channel calculation with a Calculation Project

Autotask Integration Guide

Device Management Push Binding

AY-U910 UHF Integrated Long-Range Reader Installation and User Manual

ExtIO Plugin User Guide

U SER S G UIDE. TS2002A Fiber Optic Test Kit

StickIt! VGA Manual. How to install and use your new StickIt! VGA module

SPP-100 Module for use with the FSSP Operator Manual

Bringing an all-in-one solution to IoT prototype developers

ConeXus User Guide. HHAeXchange s Communication Functionality

ANCHOR PRO. Version User Manual

Back Beat Bass. from Jazz to Rockabilly

HYPNOTIC WRITING How to Seduce and Persuade Customers with Only Your Words JOE VITALE John Wiley & Sons, Inc.

Cisco StadiumVision Defining Channels and Channel Guides in SV Director

Kaleidescape Co-Star for Lumagen

SIDRA INTERSECTION 8.0 UPDATE HISTORY

FOTS100 User Manual. BIOPAC Systems, Inc. Opsens Inc. 42 Aero Camino, Goleta, CA Tel (805) , Fax (805)

CAT USER MANUAL.

ANN HANDLEY AND C.C. CHAPMAN

CN12 Technical Reference Guide. CN12 NTSC/PAL Camera. Technical Reference Guide PCB Rev

Polaris PowerPAC Children s Edition Guide

ivw-ud322 / ivw-ud322f

TelePresence Cisco TelePresence Synch with Edge95MXP - Troubleshooting

Table of Contents. iii

Printed Documentation

There are three categories of unique transitions to choose from, all of which can be found on the Transitions tab:

Housing Inventory Setup Guide

Econami Digital Sound Decoder Steam Quick Start Guide Software Release 1.3

DP Tuner 80 Remote Control Software User Manual. Version:08 Issue Date:May 10, 2018

for the Epson Stylus Pro 4000 User s Guide

Visual Guide to Elliott Wave Trading

Multi-Media Card (MMC) DLL Tuning

5620 SAM SERVICE AWARE MANAGER MPTGS Driver Version Guide

X-Sign 2.0 User Manual

SwiftMix Automation Safety

FTC AGL System Controller Reference Manual Part Number

VJ 6040 UHF Chip Antenna for Mobile Devices

Composite Extender USER MANUAL.

MOB501. SAP Omnichannel Banking 8.3 SP01 PL03 Development COURSE OUTLINE. Course Version: 03 Course Duration: 4 Day(s)

May 2006 Edition /A. Getting Started Guide for the VSX Series Version 8.5

Application on Control Technology

VGA to ADC Conversion Box

Negotiation Exercises for Journal Article Publishing Contracts and Scholarly Monograph Publishing Contracts

DVI to HD-SDI Conversion Box

5620 SERVICE AWARE MANAGER. NTP Driver Version Guide

MP-878D Series. Mini-PCI Video Capture Card. User s Manual

RULES AND REGULATIONS

CI-218 / CI-303 / CI430

Controls Indoor. SpaceWise DT. User manual

1:2 VGA Audio Over CAT5

Transcription:

What s New in Visual FoxPro 7.0 Tamar E. Granor Doug Hennig Kevin McNeish Hentzenwerke Publishing

Published by: Hentzenwerke Publishing 980 East Circle Drive Whitefish Bay WI 53217 USA Hentzenwerke Publishing books are available through booksellers and directly from the publisher. Contact Hentzenwerke Publishing at: 414.332.9876 414.332.9463 (fax) www.hentzenwerke.com books@hentzenwerke.com What s New in Visual FoxPro 7.0 By Tamar E. Granor, Doug Hennig & Kevin McNeish Technical Editor: Alex Wieder Copy Editor: Farion Grove Copyright 2001 by Tamar E. Granor, Doug Hennig & Kevin McNeish All other products and services identified throughout this book are trademarks or registered trademarks of their respective companies. They are used throughout this book in editorial fashion only and for the benefit of such companies. No such uses, or the use of any trade name, is intended to convey endorsement or other affiliation with this book. All rights reserved. No part of this book, or the ebook files available by download from Hentzenwerke Publishing, may be reproduced or transmitted in any form or by any means, electronic, mechanical photocopying, recording, or otherwise, without the prior written permission of the publisher, except that program listings and sample code files may be entered, stored and executed in a computer system. The information and material contained in this book are provided as is, without warranty of any kind, express or implied, including without limitation any warranty concerning the accuracy, adequacy, or completeness of such information or material or the results to be obtained from using such information or material. Neither Hentzenwerke Publishing nor the authors or editors shall be responsible for any claims attributable to errors, omissions, or other inaccuracies in the information or material contained in this book. In no event shall Hentzenwerke Publishing or the authors or editors be liable for direct, indirect, special, incidental, or consequential damages arising out of the use of such information or material. ISBN: 0-930919-06-9 Manufactured in the United States of America.

iii Our Contract with You, The Reader In which we, the folks who make up Hentzenwerke Publishing, describe what you, the reader, can expect from this book and from us. Hi there! I ve been writing professionally (in other words, eventually getting a paycheck for my scribbles) since 1974, and writing about software development since 1992. As an author, I ve worked with a half-dozen different publishers and corresponded with thousands of readers over the years. As a software developer and all-around geek, I ve also acquired a library of more than 100 computer and software-related books. Thus, when I donned the publisher s cap four years ago to produce the 1997 Developer s Guide, I had some pretty good ideas of what I liked (and didn t like) from publishers, what readers liked and didn t like, and what I, as a reader, liked and didn t like. Now, with our new titles for 2001, we re entering our fourth season. (For those who are keeping track, the 97 DevGuide was our first, albeit abbreviated, season, the batch of six Essentials for Visual FoxPro 6.0 in 1999 was our second, and, in keeping with the sports analogy, the books we published in 2000 comprised our third.) John Wooden, the famed UCLA basketball coach, posited that teams aren t consistent; they re always getting better or worse. We d like to get better One of my goals for this season is to build a closer relationship with you, the reader. In order for us to do this, you ve got to know what you should expect from us. You have the right to expect that your order will be processed quickly and correctly, and that your book will be delivered to you in new condition. You have the right to expect that the content of your book is technically accurate and up-to-date, that the explanations are clear, and that the layout is easy to read and follow without a lot of fluff or nonsense. You have the right to expect access to source code, errata, FAQs, and other information that s relevant to the book via our Web site. You have the right to expect an electronic version of your printed book to be available via our Web site. You have the right to expect that, if you report errors to us, your report will be responded to promptly, and that the appropriate notice will be included in the errata and/or FAQs for the book. Naturally, there are some limits that we bump up against. There are humans involved, and they make mistakes. A book of 500 pages contains, on average, 150,000 words and several megabytes of source code. It s not possible to edit and re-edit multiple times to catch every last

iv misspelling and typo, nor is it possible to test the source code on every permutation of development environment and operating system and still price the book affordably. Once printed, bindings break, ink gets smeared, signatures get missed during binding. On the delivery side, Web sites go down, packages get lost in the mail. Nonetheless, we ll make our best effort to correct these problems once you let us know about them. In return, when you have a question or run into a problem, we ask that you first consult the errata and/or FAQs for your book on our Web site. If you don t find the answer there, please e-mail us at books@hentzenwerke.com with as much information and detail as possible, including 1) the steps to reproduce the problem, 2) what happened, and 3) what you expected to happen, together with 4) any other relevant information. I d like to stress that we need you to communicate questions and problems clearly. For example Your downloads don t work isn t enough information for us to help you. I get a 404 error when I click on the Download Source Code link on http://www.hentzenwerke.com/book/downloads.html is something we can help you with. The code in Chapter 10 caused an error again isn t enough information. I performed the following steps to run the source code program DisplayTest.PRG in Chapter 10, and I received an error that said Variable m.licounter not found is something we can help you with. We ll do our best to get back to you within a couple of days, either with an answer or at least an acknowledgement that we ve received your inquiry and that we re working on it. On behalf of the authors, technical editors, copy editors, layout artists, graphical artists, indexers, and all the other folks who have worked to put this book in your hands, I d like to thank you for purchasing this book, and I hope that it will prove to be a valuable addition to your technical library. Please let us know what you think about this book we re looking forward to hearing from you. As Groucho Marx once observed, Outside of a dog, a book is a man s best friend. Inside of a dog, it s too dark to read. Whil Hentzen Hentzenwerke Publishing July 2001

v List of Chapters SECTION 1 Developer Productivity 3 Chapter 1: IntelliSense 5 Chapter 2: Editor Enhancements 31 Chapter 3: New and Better Tools 43 Chapter 4: More IDE Changes 75 SECTION 2 Developing Desktop Applications 79 Chapter 5: Data 81 Chapter 6: OOP Enhancements 107 Chapter 7: Strings 119 Chapter 8: Resource Management 125 Chapter 9: Arrays 141 Chapter 10: Bits and Pieces 147 SECTION 3 Developing Components 151 Chapter 11: Building Component-Based Software 153 Chapter 12: Building World-Class COM Servers in VFP 7 161 Chapter 13: Implementing Interfaces 183 Chapter 14: Playing in the COM+ Sandbox 197 Chapter 15: Working with Web Services 225 APPENDIX 251 Appendix: New Installation Features 253

vii Table of Contents Our Contract with You, The Reader Acknowledgements About the Authors How to Download the Files Foreword iii xvii xix xxi xxiii Introduction 1 Organization 1 Get the picture 2 What about the code? 2 Go to it 2 SECTION 1 Developer Productivity 3 Chapter 1: IntelliSense 5 What IntelliSense offers 5 Automatic keyword completion 5 Command and function syntax tips 7 List of members 9 Early binding 10 Values list 11 Most recently used file list 12 Table, field, and variable lists 13 Configuring IntelliSense 14 IntelliSense Manager 14 Configuring IntelliSense programmatically 19 Scripting IntelliSense 19 Creating your own shortcuts 19 Hooking into the default script 25 Other IntelliSense-related items 29 Summary 29 Chapter 2: Editor Enhancements 31 Writing code 31 Parenthesis matching 31

viii Dirty file indicator 31 Live hyperlinks 32 Formatting code 33 Tabs vs. spaces 34 Visible white space 34 More options to set 35 More menu items 37 Working with existing code 38 Moving around in the editor 38 Marking points 38 Finding text 39 Finding places 41 Better access to files 42 Summary 42 Chapter 3: New and Better Tools 43 Modern menus 43 Class and Form Designers 47 Drilling down into containers 47 Identifying ActiveX PEMs 47 Identifying inherited methods 48 Preserving case in parameters statements 49 Real grid coordinates 49 Project Manager 50 Report Designer 50 Distributing applications 50 Creating an InstallShield Express project 51 Organize your setup 52 Specify application data 53 Configure the target system 56 Customize the setup appearance 58 Define setup requirements 59 Prepare for release 59 Other InstallShield Express information 60 Window behavior 60 Dockable windows 60 Properties Window enhancements 63 Other window enhancements 63 Task List 64 Improved debugging 66 Active Accessibility and the Accessibility Browser 67 Automated testing 69 Modify Procedure and View 72 New FFC classes 72