Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Long File Names
Message
From
18/11/2002 13:59:51
 
 
To
15/11/2002 11:55:01
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00723279
Message ID:
00723963
Views:
8
I'm not sure if this will help, but with my programs I have noticed that If I am working over the network, I can not have the path for the machine over the network as "C:" or "D:", I have to call it "\\theothermachine\Renee\" or "\\theServer\temp\"

HTH,
Beth

>The INI file looks like this:

>[Server]
>; The above section "Server" must be used
>; The following entry is the Destination path

>Directory1 = "D:\temp"
>Directory2 = "D:\temp"
>Directory3 = "D:\temp"
>Directory4 = "D:\temp"
>Directory5 = "D:\temp"
Directory6 = ""

[HomePath]
; The following entries indicate files to copy from the workstation

lcHomePath1 = "C:\Renee\Electrocardiogram Report"
lcHomePath2 = "C:\Renee\Event Monitors"
lcHomePath3 = "C:\Renee\Lexington Office Records"
lcHomePath4 = "C:\Renee\Providence Office records"
lcHomePath5 = "C:\Renee\Chest X-Ray Report"
lcHomePath6 = ""


The Copy program looks like this:

** Get the program server path
LOCAL lcdirectory1
lcdirectory1 = ADDBS(ALLTRIM(readini(lcIniFile,'Server','Directory1','%')))

** Get the program home path
LOCAL lcHomePath1
lcHomePath1 = ADDBS(ALLTRIM(readini(lcIniFile,'HomePath','lcHomePath1','%')))

WAIT WINDOW "Copying folder " + lcHomePath1 TIMEOUT 5
lcHomePath1 = "'"+lcHomePath1+"\*.*'"
lcdirectory1 = "'"+lcdirectory1+"\*.*'"
COPY FILE &lcHomePath1 TO &lcdirectory1
Previous
Reply
Map
View

Click here to load this message in the networking platform