Home » Developer & Programmer » Forms » how we upload a photo from my computer to the form? (forms 10g , database 10g , win XP SP2)
icon4.gif  how we upload a photo from my computer to the form? [message #336110] Thu, 24 July 2008 18:26 Go to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

in this screen :-

http://www.araboug.org/ib/index.php?act=attach&type=post&id=9564

I want when I press Browse appear Dialog Box to select the photo to upload to the form , and when I press commit_form; the photo path saved in the database .

what the code that appear the dialog box ?
Re: how we upload a photo from my computer to the form? [message #336284 is a reply to message #336110] Fri, 25 July 2008 09:10 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

at my search in the net , I reach for that function :-

WebUtil_File.File_Open_Dialog

this function suppose responsible for the appearance of the Dialog Box ........ but I don't know how could I use it !!!!

any participate will be appreciate
Re: how we upload a photo from my computer to the form? [message #336330 is a reply to message #336110] Fri, 25 July 2008 12:32 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

Sad is there anyone here ?
Re: how we upload a photo from my computer to the form? [message #336332 is a reply to message #336110] Fri, 25 July 2008 13:00 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

I try it at Push Button with WHEN-BUTTON-PRESSED ...... to Wrote this :-

WebUtil_File.File_Open_Dialog;


but the compilation doesn't complete , and that error appear :-

http://img253.imageshack.us/img253/8697/erroropendialogar4.th.png

how suppose should I use this function ?!

[Updated on: Fri, 25 July 2008 13:01]

Report message to a moderator

Re: how we upload a photo from my computer to the form? [message #336640 is a reply to message #336110] Mon, 28 July 2008 08:41 Go to previous messageGo to next message
Kaeluan
Messages: 179
Registered: May 2005
Location: Montreal, Quebec
Senior Member
Maybe you should just do a little search on this forum or on google about webutil.
Answer is easy to find and you will see that Webutil is not a form built-in, you must install it to be able to use it in your forms.

here is a link of webutil that you can easily find on OTN

Webutil





icon10.gif  Re: how we upload a photo from my computer to the form? [message #338408 is a reply to message #336640] Mon, 04 August 2008 20:58 Go to previous message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

real thanks for you
I appreciate your answer Very Happy
Previous Topic: Exporting Blob to PDF File
Next Topic: Multiple rows uniqueness validation
Goto Forum:
  


Current Time: Mon Feb 10 00:24:15 CST 2025