Richard Caruso wrote on 2016-02-11:
Sure. It may have something to do with comparing data on mapped drives,
but
not sure. When I moved the two data folders and the exe to the C Drive,
it
worked great. I could snap a screen shot of the debugger at the state in which it errors, but I can't recall what upload site profox users use for image URLs. If anyone can let me know that would be great.
The error is "Invalid path or file name" on line CD "&LAUNCHDIR" in container1 click method.
IF !EMPTY(THISFORM.text1.VALUE) LAUNCHDIR=CURDIR() SDir=CHR(34)+ALLTRIM(THISFORM.TEXT1.VALUE)+CHR(34) CD &sDir MAXFILES=ADIR(FLSARR,'*.DBF') THISFORM.COMBO1.REQUERY --> CD "&LAUNCHDIR" ENDIF
LAUNCHDIR = "\COMPARES\COMPTABS" sdir = "S:\DATA\TI_DATA\185\EPCTDATA"
Richard,
Seeing the value of LaunchDir, one thing VFP does when it CD's into a directory ( SET DEFAULT TO also) is reads the folder above it to verify the folder you are heading to exists. I had a lot of trouble with some customers for a while.
If you were to CD to a folder below the Share "\COMPARES\COMPTABS\workingfolder" you would have better success. Some of our customers noticed a performance increase when we got them changed over.
Tracy Pearson PowerChurch Software