Home » Developer & Programmer » Forms » How to view an image file in forms 10g
How to view an image file in forms 10g [message #298950] Fri, 08 February 2008 06:06 Go to next message
techno
Messages: 44
Registered: October 2003
Member
Hi

I want to diplay an image file(say jpg) in the forms 10g whenever i click a button.

What to code in the when-button-pressed triggerto hangle this?

Thanks

Re: How to view an image file in forms 10g [message #299084 is a reply to message #298950] Fri, 08 February 2008 23:59 Go to previous messageGo to next message
mshrkshl
Messages: 247
Registered: September 2006
Location: New Delhi
Senior Member
useful link

http://www.orafaq.com/forum/t/95988/0/

regards,
Re: How to view an image file in forms 10g [message #299222 is a reply to message #298950] Sun, 10 February 2008 21:50 Go to previous messageGo to next message
mintomohan
Messages: 104
Registered: November 2006
Location: India
Senior Member
hi,

you can use the forms built-in READ_IMAGE_FILE

Minto

[Updated on: Sun, 10 February 2008 21:50]

Report message to a moderator

Re: How to view an image file in forms 10g [message #299715 is a reply to message #299222] Wed, 13 February 2008 00:26 Go to previous messageGo to next message
techno
Messages: 44
Registered: October 2003
Member
Thanks for your reply.

I don't want to write the image file into the database.

I just want to display an image file in the form which is available in the OS and is acceessible to forms

The file name and location is available at design time

Pl. help me


Regards

Techno

Re: How to view an image file in forms 10g [message #299720 is a reply to message #299715] Wed, 13 February 2008 00:32 Go to previous messageGo to next message
dillango
Messages: 145
Registered: January 2008
Senior Member
Hi,

YOu can follow this method

Declare
bmp_image_dir varchar2(80) := 'your directory name';
photo_filename varchar2(80);
begin
photo_filename := bmp_image_dir || 'file name';
Read_Image_file(photo_filename,'BMP','IMage item');
end;

REgards, ILANGO
Re: How to view an image file in forms 10g [message #301002 is a reply to message #299720] Mon, 18 February 2008 23:55 Go to previous message
techno
Messages: 44
Registered: October 2003
Member
Thanks for your reply

Techno
Previous Topic: Alert message box
Next Topic: Problem in Calling Report
Goto Forum:
  


Current Time: Tue Dec 06 04:09:05 CST 2016

Total time taken to generate the page: 0.13927 seconds