When I use a FileListbox set its Directory property to a network path, in IDE design the proper files are listed from my network drive but during runtime the Filelistbox defaults back to path of the exe's location. This also seems to happen with most components ie. DirectoryListBox as well.
I also set on FormCreate a SetCurrentDir('\\Mynetwork\Target$\FileFolder') again this seems to work in the design IDE perfectly, but not at runtime. My FileListBox again defaults to its 'Debug' actual directory.
I'm missing something rather basic, how can I set the directory property to take effect at runtime? I've got a workaround, by copying and running the program from the network drive but this isn't ideal.
Thanks
-Tony
I also set on FormCreate a SetCurrentDir('\\Mynetwork\Target$\FileFolder') again this seems to work in the design IDE perfectly, but not at runtime. My FileListBox again defaults to its 'Debug' actual directory.
I'm missing something rather basic, how can I set the directory property to take effect at runtime? I've got a workaround, by copying and running the program from the network drive but this isn't ideal.
Thanks
-Tony