file names

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

I am storing the file name of a picture in a text field
and then loading the picture in my form once it opens. I
can load files such as C:\dan.bmp. However I don't know
how to get the file paths when they contain spaces
because windows hides the connecting characters. Is there
a way to find it out? I need to find the file name of
C:\Document and Setting\My Pictures\dan.bmp. I also need
to find the file name of a file that is across the
network.
 
If you wrap the entire path name in quotes, it will work correctly, eg

"C:\Document and Setting\My Pictures\dan.bmp"

Have you tried passing the UNC filename ?

\\MyNetworkComputer\ItsPath\TheFile

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 
Back
Top