Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Development on a special drive letter
Message
De
25/01/1999 16:38:46
 
 
À
25/01/1999 13:06:31
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00178297
Message ID:
00180007
Vues:
29
>>I haven't read all the responses so maybe you already have an answer. I'll tell you what I do though, when I'm modifying/developing a network application on my lap top that only has a c drive.
>>
>>Say that the program files reside on the c drive in a directory named mbc and a particular customers data files reside on a server drive that is mapped as the n drive with a directory named mbcdata.
>>
>>In order to simulate the network environment while you are developing and testing your application, create a new directory on your c drive and name it nsim (for this example). Open the new nsim folder and create another directory called mbcdata. Copy all data files into this directory.
>>
>>Now, go into foxpro (or VFP) and in the command window type: set volume n: to c:\nsim. From this point forward, all references to n:\mbcdata will find the data files in c:\nsim\mbcdata.
>>
>>It works for me, maybe it will help you.
>
>Congratulations - this Set Volume is not mentioned in VFP5 help, and FPD2.6 help mentions it as Mac-only. It doesn't generate any errors when issued in FPD, but DIR N: says "Bad drive specification". However, it seems not to exist in VFP (as far as help is concerned), but it works flawlessly.
>
>How the hell did you dig this out? It's just a phantom command.

Dragan,

I wish I could remember when/where I learned this, because I would like to give credit to the person that told me about it.

I've been using it for 2-3 years (at least) and it's a great command for use in simulating a network environment on a non-networked computer. I'm sure I found it on the news group comp.databases.xbase.fox or one of the Fox Compuserve forums that I frequented back then.

Thanks for your remarks. I get a lot of help from you guys and it's nice to be able to contribute a little of my own every once in a while.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform