Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP's share setting for opening source files?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00699834
Message ID:
00699841
Vues:
16
I don't think there is anything you can do about the shares, but for a good search tool, why not use PJXSearch at www.stevedingle.com.


>Hello. I have written a simple PRG to search my VCX files for certain pieces of text. However, if I run it while I have the class open in VFP(viewing code), I am unable to open the file. My program attempts an FOPEN(,0) on the file to determine if it can get readonly access to it, and this fails. The only thing I can guess, is that VFP opens source files in a non-sharable way(dwShareMode==0). Is there any way to have VFP open source files("vcx", "scx", etc.) in a shared way(dwShareMode==FILE_SHARE_READ)? The files on the file system are already read-only(VSS does this), so there are no data integrety issues. Ideas? Thanks.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform