Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exe file not working in Windows 7 but works in XP
Message
From
17/11/2016 20:51:33
 
 
To
17/11/2016 15:08:43
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01643258
Message ID:
01643652
Views:
35
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform