I want to create a text file on a location that the user can choose.
using file management.savefiledialog the user can select location.
when the location is on a server drive the location is mentioned as
'K:\Data\file.txt'
the textfile is created as temporary server file.
when finished i want tod copy the temp file to the clientfilename.
the server cant find the path to 'K:'
when the filename is changed to \\server1\data\file.txt the server can find it and it works.
is there a function to change 'K:\Data\file.text' to '\\server1\data;file.txt'?
hopefully this description is clear enough.
thanks.
using file management.savefiledialog the user can select location.
when the location is on a server drive the location is mentioned as
'K:\Data\file.txt'
the textfile is created as temporary server file.
when finished i want tod copy the temp file to the clientfilename.
the server cant find the path to 'K:'
when the filename is changed to \\server1\data\file.txt the server can find it and it works.
is there a function to change 'K:\Data\file.text' to '\\server1\data;file.txt'?
hopefully this description is clear enough.
thanks.