|urs_mbfarook question on Spaces in directory and file names [message #231927]
||Wed, 18 April 2007 20:33
Registered: March 2005
Location: Surges Bay TAS Australia
|Received by PM:|
I have stored file name and path in a single column. I want to open the file while forms run time. The file opens if the name file name doesnt having space if its having space in path or in name then I cant open the file through forms
file_name := :Crq3.s_filnam;
If :Crq3.S_Extcde ='BMP'then
Appid := dde.app_begin( 'C:\Windows\System32\mspaint.exe '||file_name || '',dde.app_mode_minimized);
If the file name is C:\ss.bmp its opening
the path C;\documents and settings\ss.bmp then its try to open C:\documents.bmp
what I can do for this?
Plz help me
With Regards Umar Farook
First, my given name is 'David' and I am happy to be addressed in this forum by that name when it is spelt fully. Second, please don't PM me your questions unless I ask you to do so. If you want an answer, ask the 'forum'. I will get to EVERY thread in the 'forms' forum ultimately.
Oracle Forms can not handle directory or file names with spaces. Either don't use them or try using the 'tilda' construct, e.g. 'C:\docume~1\ss.bmp' instead of 'C:\documents and settings\ss.bmp'