Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exe file not working in Windows 7 but works in XP
Message
De
17/11/2016 20:51:33
 
 
À
17/11/2016 15:08:43
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Divers
Thread ID:
01643258
Message ID:
01643652
Vues:
36
>Hi Naoto,
>
>Yes you are correct. I've checked the values of some of the local variables and found that lcCurrentDir was assigned a specific location in a program. That's the reason why it keeps copying the files in that particular folder instead to the folder where i am expecting the files to be copied
>
>As for the use of macros, some of the codes where from my clipper programs and i just copy pasted some of it to VFP and have not really changed or removed them yet :)
>
>Thanks for the help guys
>
>Sonny

You're quite welcome.

I was just passing on something I'd learned in the transition from DOS environment to Windows -- that "current directory" isn't always guaranteed to be what you think it to be. Actually the "current directory" *could* also change unexpectedly in DOS -- if you used some form of task-switcher. But since such things were generally rare, you typically didn't have to worry about "current directory" changing unexpectedly in a (non-task-switched) DOS environment.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform