image / BLOB_TABLE [message #500431] |
Mon, 21 March 2011 04:09 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/f6bf2971999d347c1668a0ea362d9397?s=64&d=mm&r=g) |
devendrapal26
Messages: 15 Registered: March 2011 Location: india
|
Junior Member |
![orkut](/forum/theme/orafaq/images/google.png)
|
|
[MERGED by LF]
oracle 10f, FORM 6i
when i simply rum my programe its working properly, but when run on web its "browse button" not working, my coding on browse button is :-----
declare
dirname varchar2(255);
v_filename varchar2(255);
begin
tool_env.getvar('D:\', dirname);
dirname := dirname || '\bin\bmp';
v_filename := get_file_name(dirname,NULL,
'All Files (*.*)|*.*|' /*||
'JPEG Files (*.jpg)|*.jpg|' ||
'Bitmap Files (*.bmp)|*.bmp|' ||
'TIFF Files (*.tif)|*.tif|' ||
'CompuServe Files (*.gif)|*.gif|' ||
'PC Paintbrush Files (*.pcx)|*.pcx|'*/ );
:LN_BROWSE_PATH.VC_FILE_PATH:=v_filename;
if v_filename is not null then
read_image_file(v_filename,'ANY','LN_BROWSE_PATH.LG_FILE_IMAGE');
end if;
end;
please give me suggestion for, how can i run my programe on web.....
[Updated on: Tue, 22 March 2011 06:08] by Moderator Report message to a moderator
|
|
|
|
|
BLOB_TABLE [message #500585 is a reply to message #500431] |
Tue, 22 March 2011 05:49 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/f6bf2971999d347c1668a0ea362d9397?s=64&d=mm&r=g) |
devendrapal26
Messages: 15 Registered: March 2011 Location: india
|
Junior Member |
![orkut](/forum/theme/orafaq/images/google.png)
|
|
oracle 10f, FORM 6i
when i simply rum my programe its working properly, but when run on web its "browse button" not working, my coding on browse button is :-----
declare
dirname varchar2(255);
v_filename varchar2(255);
begin
tool_env.getvar('D:\', dirname);
dirname := dirname || '\bin\bmp';
v_filename := get_file_name(dirname,NULL,
'All Files (*.*)|*.*|' /*||
'JPEG Files (*.jpg)|*.jpg|' ||
'Bitmap Files (*.bmp)|*.bmp|' ||
'TIFF Files (*.tif)|*.tif|' ||
'CompuServe Files (*.gif)|*.gif|' ||
'PC Paintbrush Files (*.pcx)|*.pcx|'*/ );
:LN_BROWSE_PATH.VC_FILE_PATH:=v_filename;
if v_filename is not null then
read_image_file(v_filename,'ANY','LN_BROWSE_PATH.LG_FILE_image');
end if;
end;
that code is not give any error, when i simply run this form & i press the browse button i am get a dialog box for image selection, but when i run this programe on web its not give any error, & not open a dialog box.....
-
Attachment: Browser.fmb
(Size: 176.00KB, Downloaded 1062 times)
|
|
|
|
Re: image [message #500626 is a reply to message #500595] |
Tue, 22 March 2011 07:57 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
If you want to read files off your pc when running on a web server you need to use web_util
|
|
|
|