Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: IC opening files on another server 2001-03-07 -- Dave > I'm trying to open files on another server or PC from my Webserver
> application.
> I use UNC naming : \\PEPPIER\D\DAta\cust.tps
>
> Howerver it fails to open the file.
> It does work when i open the program on the server the App is running.
> How can I point to a file on another server ?
I did it by not setting a path for the files in the dictionary then putting
the following code on the main form before opening the files.
g_path = GETINI('global','datapath','','some_ini_file.ini')
setpath(clip(g_path))
then if the path changes you only have to update the INI not recompile the
prog.
Today is November 21, 2024, 3:47 am This article has been viewed 35218 times.
|
|