Forms :: Capture Image Through Webcam

Sep 17, 2007

How can i capture an image using webcam connected to my PC and show that in the image item in my d2k form 6.0.I want to get the function in a when button pressed trigger.

View 16 Replies


ADVERTISEMENT

Forms :: Capturing Video Webcam Using API?

Oct 16, 2009

I want to capture video using webcam through developer 6i. i m using ora_ffi package. my package specs are:

PACKAGE CAM IS
WM_CAP CONSTANT PLS_INTEGER:= 1024; -- EQUALS TO '&H400S'
WM_CAP_DRIVER_CONNECT CONSTANT INTEGER := WM_CAP + 10;
WM_CAP_DRIVER_DISCONNECT CONSTANT INTEGER := WM_CAP + 11;
WM_CAP_EDIT_COPY CONSTANT INTEGER := WM_CAP + 30;
WM_CAP_GET_STATUS CONSTANT INTEGER := WM_CAP + 54;
WM_CAP_DLG_VIDEOFORMATCONSTANT INTEGER:= WM_CAP + 41;

[code]....

package body are:

PACKAGE BODY CAM IS
/* Declare the library and function handles. */
USER_LIB_HANDLE ORA_FFI.LIBHANDLETYPE;
AVCP_LIB_HANDLE ORA_FFI.LIBHANDLETYPE;
FH_SM1 ORA_FFI.FUNCHANDLETYPE;
FH_SM2 ORA_FFI.FUNCHANDLETYPE;
FH_SM3 ORA_FFI.FUNCHANDLETYPE;

[code]....

now i call preview window through 'when-button-pressed' code is as:

DECLARE
IDEVICE INT := 0;
IHEIGHT INT := GET_ITEM_PROPERTY('BLOCK3.IMAGE',HEIGHT);
IWIDTH INT := GET_ITEM_PROPERTY('BLOCK3.IMAGE',WIDTH);
BRETURN BOOLEAN;RS INT;
S CAM.CAPSTATUS;
IMAGE_ID INT;

[code]....

when i run form, i will get "FRM-40734:internal error:PL/SQL error occurred.". i checked form through debugger,it gives me "PDE-PPU007" error on this function BEGIN CLAUSE execution.

FUNCTION CAPCREATECAPTUREWINDOWA(LPSZWINDOWNAME VARCHAR2,DWSTYLE INTEGER,X INTEGER,Y INTEGER,NWIDTH INTEGER,NHEIGHT INTEGER,HWNDPARENT INTEGER,NID INTEGER) RETURN PLS_INTEGER IS
BEGIN
RETURN (FF_CAPCREATECAPTUREWINDOWA(FH_CPW,LPSZWINDOWNAME,DWSTYLE,X,Y,NWIDTH,NHEIGHT,HWNDPARENT,NID));
END CAPCREATECAPTUREWINDOWA;

View 7 Replies View Related

Forms :: Image Path Save In Database And Image Name As Design Number?

Jun 3, 2009

I create a simple table for image

CREATE TABLE image_table (
Design_no varchar2(10),
filename VARCHAR2(255) PRIMARY KEY,
image LONG RAW);

Then i create simple block of image_table

its show me in this website [URL] My question is i don't want to give my form path always.i want to save my picture path in my database and the name of my picture always same as my design_no column.

For example i want to save a picture in my database i will copy my picture in d:shahzaib1234.jpg now i want the path d:shahzaib save in database and when i copy my picture which path= d:shahzaib and file name = Design no its will automatically save in database.

View 4 Replies View Related

Forms :: Create Dialog Box / Upload Image On Image Item

Sep 26, 2010

i want to create a simple form in this form i want to upload the image on the image item with browse button that open a diaglog box that go to the image i select the image and this image is display on image item on the form.

View 1 Replies View Related

Forms :: How To Save Image In Oracle 9i And Display The Image On 6i

Dec 18, 2008

i m getting some problam to display image in forms 6i.

i hv two tables
1st is empmst
emp_code number(5) not null (PK)
emp_name varchar2() not null
2nd is emppic
emp_code number(5) not null (FK of empmst)
emppic blob not null

i create a master detial form and save the data in tables

whn u execute query i m unable to get the pic..

View 5 Replies View Related

Forms :: Capture Key Press In Oracle 6i

Jun 14, 2010

How to capture key press in oracle forms 6i.My intention is to create a form with 2 blocks. First block have one text item which user will input data and second block displays data based on the value typing in the text item(Same like LOV).

View 12 Replies View Related

Forms :: How To Capture Return Value From LOV At Run Time

May 30, 2012

I have a field say field A which has to be enabled/disabled based on the return value from an LOV.

ex: if lov returns A then field A should be enabled anything other than A, then field A should be disabled.

Do we have any function to get the return value from LOV?

View 4 Replies View Related

Forms :: Trigger To Capture User Details

Jan 16, 2012

I have a table in that i have some columns along with that four columns to capture the user details. but these details must be captured Programmatically.like whenever a user insert or update or delete his credentials must be captured in these columns. but i am not figuring out in which trigger i have to write and how.

View 19 Replies View Related

Forms :: How To Capture Date And Time In Separate Fields

May 8, 2012

I want to capture date and time in separate fields from user and save it in single column in table

example: user enters date and time
Date : 08/05/20212
Time : 18:50:00

At the time of save I want to save [08/05/2012 18:50:00].

View 1 Replies View Related

Forms :: Post-Block Trigger - Trying To Capture Previous Item?

Aug 12, 2010

I have a form w/a tab canvas. BlkA is on Tab1 and Blk2 is on Tab2. In BlkA I have several items that have when-validate-item triggers. However, the trigger does not fire when I enter a value into item1 of BlkA followed by clicking on Tab2. To solve, I placed validate(form_scope) in the When-Tab-Page-Changed trigger. This works well with invoking the validation. However, focus remains on Tab2 (Blk2).

I would like focus to return to failed validation item in Blk1. I can capture the block name using :system.cursor_block in the Post-Block trigger of BlkA, assign that value to a form parameter and when a validation fails via the When-Tab-Page-Changed trigger I can return user back to BlkA(Tab1). However, I need direction on how to return user to the specific item in BlkA that failed validation

View 2 Replies View Related

Forms :: Enable A Button - Capture Trigger That Fires On Pressing Exit

May 23, 2011

I have a situation where one form calls another. I am opening the other form(say B) using the below code.

declare
temp_form formmodule;
begin
temp_form := FIND_FORM ('D:RSSQ2TestingpurposesMODULE3_MULTIPLE');

[code]...

On Form B there is an Exit button on click of which it closes the Form B and returns to Form A

begin
close_form('MODULE3_MULTIPLE') ;
end;

In my scenario on Exit from FORM B i need to enable a button on FORM A.I am not able to capture the trigger that fires when I Press the Exit

View 7 Replies View Related

Forms :: To Display Specified Image

Jan 14, 2012

I want to display a specified image if not form_success!

declare
image_path varchar2(80) := 'C:R_ORACLEPHOTOS';
photo_name varchar2(80);
begin
:system.message_level := '25';
[code].......

View 1 Replies View Related

Forms :: Getting Size Of Image In 6i?

May 17, 2013

I have a form that loads an image. Before storing the image on the database, I want to verify the size of the image. If the image is 0kb, I want to pop up a warning message and fail the load into the database.

I am using Forms 6i Version 6.0.8.23.2

View 5 Replies View Related

Forms :: Image Is Not Displaying

Jan 20, 2013

In my explorer/menu form there is a image item, I want to display company logo in this image item therefore I am using read_ image_ file ('c:application LOGO.jpg','JPG','IMAGE53') in WHEN_NEW_FORM_INSTANCE trigger but image isn't showing.

View 3 Replies View Related

Forms :: Set Image In Background In 6i

Dec 15, 2011

I want to set image in back ground.but there no option in properties.how to set back ground.

View 3 Replies View Related

Forms :: How To Add Image As A Button

May 14, 2011

i want do add a image as a button.i added iconic image on a button from desktop,but its not working during runtime,i only see a flat button instead of iconic..what should i do...??

View 2 Replies View Related

Forms :: How To Read Image Through URL

Dec 16, 2011

I Want Read Image Through URL..Image Is Placed In Another Server Which Is Not in Local Network.

View 1 Replies View Related

Forms :: How To Attach Image

Aug 31, 2010

WHEN_BUTTON_PRESS using trigger mode on button

means when i click the button to load a image from the drive c or d the of jpeg format then i select him and upload

so write down the procedure in 6i form and send me the file of fmb format to mail me

send me the file

[URL]....

View 1 Replies View Related

Forms :: BLOB Image Is Not Saving?

Nov 12, 2011

I am failed to saved image in the table via forms. (Although i have successfully updated the table with a procedure at PL/SQL level).

Here is what i have done.

1) Table created

create table prod
(pcode number,
image blob);

2) Made a form with guidence present at orafaq

3) It reads and saves image BUT enter/execute query does not show the image

4) even the following code gives me 0

select dbms_lob.getlength(image) from prod

View 1 Replies View Related

Forms :: Add Some Custom Image On A Button?

Dec 7, 2010

Is it possible to add some custom image on a button?

If so, How to do it?

View 8 Replies View Related

Forms :: Change Image In Runtime?

Nov 10, 2011

how can change image through runtime i mean if have 5 pictures first image will showing and second image showing

View 1 Replies View Related

Forms :: How To Upload Image In 6i In Apps

Jan 18, 2011

I have upload an image in forms6i, in oracle apps

On button press event, code is...

DECLARE
V1_PATH VARCHAR2(50);
BEGIN
V1_path := get_file_name('C:IMAGE', NULL,
file_filter=> 'JPEG Image (*.JPG,*.JPEG,*.JPE,*.JFIF)|*.JPG|Bitmap Image (*.bmp)|*.bmp|GIF Image (*.GIF)|*.GIF|TIFF Files (*.tif)|*.tif|All Files (*.*)|*.*|');
DECLARE

[code]....

But it giving error message when preesing the button i.e. FRM-47105: NO image name specified.

View 2 Replies View Related

Forms :: How To Display Image (blob)

Jul 24, 2009

how to display an image(blob) on a form . i have tried all i could but still failed to display it on the form.Yes i searched the forum without any break through. below is the code i used to create data block and upload photos (JPG). the only problem am facing is retrieving them from forms. am using form 6i 10g database.

grant connect, resource, imp_full_database, exp_full_database to en;

grant create any directory to EN;
grant create any library to EN;
GRANT EXECUTE ON CTX_DDL en;
CONN en/en@pacific
Connected
[code]...

View 8 Replies View Related

Forms :: How To Change Background Image

Jan 28, 2010

I was confuse about oracle applet parameter form that's in formsweb.cfg at line

# Forms applet parameter
background=C:imagea.jpg

but when i run oracle form it's still not appear image that i want to appear with a.jpg . how to change background of oracle form.

View 5 Replies View Related

Forms :: Read Image From A Directory?

Mar 16, 2013

I have 100 image file in C:My_PIC/ i want read these image files and put in a table .

My table have 2 column : Id_pic varchar2(20) ,
PIC BLOB

I want read all files in C:MY_PIC and Insert in My table with a BUTTON in My form

ID_PIC = file name
PIC = image

View 1 Replies View Related

Forms :: Displaying Image In Oracle 6i?

Apr 24, 2009

i am working with image. I have successfully stored image in oracle table. Now i want to display the stored image in oracle form 6i. There i unable to display the image although i have created the data block using the same table name as the data source.

View 9 Replies View Related

Forms :: Image Scan In Oracle 6i?

Sep 19, 2010

scan image from Oracle Form Builder 6i and store the image location in the oracle 9i database. Here important issue is we just store the image location in the database not the image. We'll store the images in a storage device and store the location path in the database. And retrive the image from storage device using the path.

For example: User Scan the image using Form builder 6i then save the image like 1001-DPS-1.jpg in the default location like D:Image.. And in oracle 9i database data save like : 1001 DPS 1 D:Image1001-DPS-1.jpg User_Name Sysdate

Data save automatically in the database when image scanned and saved in physical drive. This is our main purpose.

Is it possible to solve this task using Oracle 9i and Developer 6i?

View 2 Replies View Related

Forms :: Image Not Adjusted With Canvas

Oct 23, 2012

i am trying to use read_image_file property , and it worked ,but unfortunately , the image is not adjusted with the canvas,

i changed the sizing style property to (adjust) , but also vainly , it is not adjusted with the canvas

View 1 Replies View Related

Forms :: 11GR2 Image Manipulation?

Jul 19, 2012

We are upgrading from forms 6i -> 11gr2 I just noticed that our 6i image Show pallete property does not exists anymore in 11G...why the hell did they remove it!!!! it is a must for our users, since they need to zoom in and out to confirm acuracy at all levels.

Is there anything built in forms 11G that can zoom in/out of images. not finding anything. and once zoomed, do the horyzontal/vertical scrolling bars appear?

View 1 Replies View Related

Forms :: Image On The Form For Splash Screen

Dec 4, 2009

How can I replace an existing image with a new one on my splash screen. Here's what I mean by this:

I have a form which already has a splash screen logo. This logo will be replaced with a new one. The existing logo is attached as an image in the form of a .tiff file. There are no triggers on the form excepting a "when new form instance" which just says "SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'ABC').

How can I ensure that the old logo is replaced with a new one. Here's what I did to replace, i.e my trouble shooting steps:

a)opened the form and deleted the existing splash screen/.tif file
b)went into the layout editor and clicked on "EDIT-> IMPORT" and mapped it to the .tif file that's persent in the local directory. As soon as I click OK, I get the following message :

FORMS-VGS-507- Cannot open file or file not in specified format.

BTW- another trouble shooting step was that I discarded the original and the one to be replaced .tif file. After this I imported another .tif file , so as to eliminate/narrow down the issue. The other .tif file when imported, attached itself perfectly fine, except that it was too large. (How to crop the size). I am new to Oracle forms10g and my area of work is pl/sql,sql,crystal reports and VB.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved