次の方法で共有


Set VFP Shell Open Commands Sample

File: ...\Samples\Solution\Winapi\Shellopen.scx

This sample is a utility that you can use to change the Shell Open settings of various file types (extensions) and uses the Registry Access Foundation Class. The Shell Open settings control how a file is opened when you double-click the file in Windows Explorer.

Prior to Visual FoxPro 7.0, Visual FoxPro opened a file in a running instance of Visual FoxPro. Starting with Visual FoxPro 7.0, Visual FoxPro opens that file in a new instance of Visual FoxPro. This sample makes it possible for you to control how you want files opened at a file type level.

This sample contains the following classes

Class

Library

Description

registry

registry.vcx

Contains routines to access the Windows Registry.

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples