Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UNC - More info please
Message
De
22/05/1998 09:26:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00101081
Message ID:
00101137
Vues:
21
>I would like to add UNC functionality (or something similar) to my systems and also update some documentation I am working on regarding programming concepts. I do not know enough about UNC and would like some peoples views. At the moment, I use two different approaches; in 2.6, I do the following at the start of the main program:-
>
>
>lcCustRoot=lcMainDrive+":\customer\"
>lcCustPath=lcCustRoot+lcCustCode+'\'     && lcCustCode = customer code
>lcCustFile=lcCustPath+lcCustCode+".dbf"  && customer database
>
>
>In VFP I do similar but place items in a text (ini) file and use low level file handling to pick out the bits I need. Example: "CustomerRoot=:\customer\". I would like to know what other people do and how flexible those different approaches are. TIA,
Nigel,
UNC is much like mapping but you must use FULL UNC path instead of relative subdir addressing.
path=data;report && Wrong
path=\\server\...\data;\\server\..\report && True
and you should include UNC path in shortcut for config.fpw (Target: \\server\...\app\app.exe -C\\server\...\app\config.fpw).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform