D2KWUTILL in forms 9i

HI GUYS,
I AM TRYING TO USE D2KWUTIL.PLL IN FORM 9I TO READ CLIENT'S REGISTRY VARIABLES USING WIN_API_ENVIRONMENT.READ_REGISTRY().ITS GIVING ERROR FRM-40735 AND ORA-06502. THE OPERATING SYSTEM IS WINDOWS XP. CAN WE USE D2KWUTIL WITH FORMS9I ,IF YES THEN I THINK I DONT HAVE THE LATEST VERSION OF D2KWUTIL, CAN ANYONE TELL ME FROM WHERE CAN I GET THAT OR MAIL ME AT [email protected] THANKING U ALL IN ANTICIPATION.
TAKE CARE
HASEEB

You should be using WebUtil to do this. You can download it from the forms page on OTN.
Regards
Grant Ronald
Forms Product Management

Similar Messages

  • D2KWUTIL and Forms 9i/ 10g.  Does it work?

    Hi,
    I am trying to using d2kwutil in forms9i.
    functionality i want is to open a pdf document in new browser window
    and search for a particular string in the document.
    and thats the end of the story.
    1. can i using d2kwutil.pll/dll for this requirement?
    2. or do i have to use webutil. -- i want to avoid usage of webutil
    3. simply because i feel webutil will make my form heavy. Is may understanding correct?
    can anybody have answer for these questions.
    thnxs

    Hi,
    you can use d2kwutil in 9i/10g if the functionality you need (file open for example) reside on the server and not on the client machine.
    If you need access on the client machine then you need webutil.
    Jean-Yves

  • Using d2kwutil in forms 5

    Hi I am working on forms 5 ...
    I need to get a list of files and directorys to a table.
    I read in the forum that i can use the d2kwutil.pll
    win_api_directory_list.FirstFile. but i need to convert the pll from forms6 to
    forms5 and it didnt work for me. i get frm-40735 and ora 06508
    is there other way to do it ?
    thanks
    danny

    Try turning off the Premultiply Alpha option on export (Render pane) -- and have you tried to export Alpha only?
    Premultiply adds and "antialiasing" edge to the exported media.  The documentation says:
    Premultiply Alpha: When the project's background color is black, select this checkbox to mix (via multiplication) semitransparent pixels with the project’s background in the exported file.
    That implies that if you set the background color (preferences > project > Background Color) that you will get a different result on export... Try Green!

  • D2kwutil for forms 6i

    I'm looking for d2kwutil 6.0.6. (forms 6i)I looked for it on Oracle's download page and on metalink but I can't find it.
    Where can I find this d2kwutil606 zip file (with pll, dll and the example fmb's)?
    Thanks.

    Hi
    Where can I find this d2kwutil606 zip file
    Pls have a look here ... at Noviceno1's post
    Hope this helps...
    Regards,
    Abdetu...

  • Forms 11g and d2kwut60.dll

    Hi,
    Has anyone used d2kwutil with Forms 11g ?
    We have migrated our 6i forms to 11g and are having intermittent hanging issues with forms that reference d2kwutil functions.
    Regards,
    Will

    Can I delete the d2kwutil.dll from the server so it is not downlaoded to the client automatically or is the client d2kwutil.dll required for webutil to work ?
    Regards,
    Will

  • Not able to connect to the Oracle FTP Site.

    I am unable to connect to the oracle ftp server.
    ftp://oracle-ftp.oracle.com/dev_tools/patchsets/dev2k/Win95NT/d2kwutil/
    I need to download the latest version of d2kwutil for forms 4.5.
    The one with the WIN_API_SESSION call. I got a version for forms 6.0 but I need one for
    forms 4.5 with d2kwut32.dll. Please let me know how to download this.
    Any help is highly appreciated.
    Thanks, Prabhu.

    As you said I renamed d2kwut60.dll to d2kwut32.dll and I tried deporting the Forms ver 6 D2KWUTIL.PLL to Forms 4.5 D2KWUTIL.PLL .. but unfortunately it didn't work out. All I wanted was the WIN_API_SESSION for timeout on FORMS application (if kept idle) .. but it turned out I need to modify WIN_API and other functions to accomdate this new function .. and also I think since PL/SQL version is of lower version in 4.5 .. I am having compilation problems also.
    Since I am unable to connect to the FTP site I would really appreciate if you have a version of D2KWUTIL.PLL for FORMS 4.5 with WIN_API_SESSION calls, which you could forward it to EMAIL ID : [email protected]
    Thanks again for trying to help. Appreciate a lot.
    Thanks, Prabhu.

  • How to use d2kwutil for calling win-api programs in form 6i

    I WANT TO USE d2kwutil for calling win-api programs in form 6i.
    PLEASE GIVE ME IT'S SOLUTION.

    D2kwutil comes with a Demo Form WAPIDEMO - you can run this to see every function demonstrated. You can even run a function using the demo form and copy the syntax required directly into your own form -------------------------
    yes in have got that WAPIDEMO from web and run successfully but
    i can not do those codes in my owdn form.Because i do not get those apis like
    win_app_session in form 6i.
    Again i could not understand how that form runs without connecting to database.
    Please describe the solution.

  • FRM-40039: Cannot attach library d2kwutil while opening form xyz

    Hi,
    I am running forms 6i.
    I copied the folder containing all executables (.fmx, .mmx, .plx) to my local directory 'C:\bin6'.
    When i call this from Command Line
    c:\orant\bin\ifrun60.exe C:\bin6\xyz.fmx
    I get the error "FRM-40039: Cannot attach library d2kwutil while opening form xyz"
    I verified that d2kwutil.plx is present in c:\bin6.
    Note: I did not change anything in the FORMS60_Path in registry to point to my local directory.
    Please help

    Hi Smita
    Pls answer urself the following questions and check...
    1. did u attached the liberary to ur form...?
    2. did u set the FORMS60_Path in the registery for the liberary...?
    3.did u try a Ctrl-Shft-K (Compile All) then a Ctrl-T (Generate) and a save, then run your form... ?
    4. did u check the path in the START IN property to the correct location.. .?if the answer is yes then pls try to do the following...
    1. copy d2kwut60.dll + .PLL to client machine C:\orant\TOOLS\OPEN2K60\plsqllib
    2. copy the required .FMX file to client pc.
    Hope this helps... :)
    Regards,
    Abdetu...

  • D2kWutil error at runtime, but not in Forms Developer

    Hi,
    I need 'Form on top as SDI' (C/S 6.0.8.) and it works on my WNT machine stabil, also at runtime:
    W-N-F-I Trigger
    OnTop.Window_On_Top('WINDOW1');
    On my WXP machine the same code
    The runtime start with usesdi=NO is OK, but not with usesdi=YES :
    there is a error: 'FRM 06503: PL/SQL Function returned without value.'
    Here is a debug-log from the error run:
    <00> SetDebug: Logging to File chk-debug-new.log
    <99> Win_API(init): Searching For DLL (D2KWUT60.DLL)
    <99> Win_API(init): Preload location not set
    <99> Win_API(init): DLL loaded from D2KWUTIL60_PATH (d:\orawork\d2kwut60\)
    <99> Win_API(init): DLL Found and Loaded
    <99> PreLoad: Args: (None)
    <99> DLLVersion: Args: <No Arguments>
    <99> Register_Function_Call: Ftn="d2kwutil_Version", DLL Count=1, Initial Reg
    <99> DLLVersion: Result: Version=D2KWUT60.DLL Version 6.0.6.0 Production
    <99> Play_Wav: Args: FileName="SystemStart", Asynchronous=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_PlaySound", DLL Count=1, Initial Reg
    <99> Play_WAV: Result: RC=1
    <99> Get_Parent_Window: Args: Window_Handle =198416, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_ParentWin", DLL Count=1, Initial Reg
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    <99> Get_Parent_Window: Args: Window_Handle =329460, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    <99> Get_Parent_Window: Args: Window_Handle =329460, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Get_Parent_Window: Result: RC=0
    <99> Add_Error: Get_Parent_Window: Unable to obtain parent window handle
    The ok debug:
    <00> SetDebug: Logging to File chk-debug-new.log
    <99> Win_API(init): Searching For DLL (D2KWUT60.DLL)
    <99> Win_API(init): Preload location not set
    <99> Win_API(init): DLL loaded from D2KWUTIL60_PATH (d:\orawork\d2kwut60\)
    <99> Win_API(init): DLL Found and Loaded
    <99> PreLoad: Args: (None)
    <99> DLLVersion: Args: <No Arguments>
    <99> Register_Function_Call: Ftn="d2kwutil_Version", DLL Count=1, Initial Reg
    <99> DLLVersion: Result: Version=D2KWUT60.DLL Version 6.0.6.0 Production
    <99> Play_Wav: Args: FileName="SystemStart", Asynchronous=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_PlaySound", DLL Count=1, Initial Reg
    <99> Play_WAV: Result: RC=1
    <99> Get_Parent_Window: Args: Window_Handle =526002, Recursive=TRUE, RaiseExceptions=FALSE
    <99> Register_Function_Call: Ftn="d2kwutil_ParentWin", DLL Count=1, Initial Reg
    <99> Get_Parent_Window: Result: RC=198372
    What is wrong?
    Best Regards
    Friedhold

    Hi Duncan,
    thank you for the tip:
    I've modified the OnTop Package and it works fine
    in SDI-mode (the Form is permanent on top!):
    PROCEDURE Window_On_Top (Window_Name IN WINDOW) is
    hWnd PLS_INTEGER;
    hParent PLS_INTEGER;
    iRC PLS_INTEGER;
    BEGIN
    hWnd := to_number(get_window_property(Window_Name,WINDOW_HANDLE));
    ------- hParent := win_api_utility.get_parent_window(hWnd,TRUE,FALSE);
    ------- if hParent <> 0 then
    ------- hWnd := hParent;
    ------- end if;
    iRC := i_SetwindowPos(fh_SetWindowPos,hwnd,-1,0,0,0,0,19);
    END;
    Best Regards
    Friedhold

  • How to upload file on Application Server with Forms 6i?

    Please, I need to upload .csv file from local to Application Server, I think to use .jsp application, but I don't know where I had to put it...Apache can't read .jsp file without Tomcat? If I launch my .jsp file from Apache/htdocs directory can't view .jsp code (Method Not Allowed)...method is POST...any idea? Thanks in advance!

    Hi,
    You could write a java bean to get the file from the client and to upload to App Server. And, you simply use it in Forms 6i.
    Also, you could use d2kwutil (not tried though. you could search this forum and get an idea of that).
    Of course, For your information, You could use WebUtil (in Forms 10g / 10.1.2) which has the functionality.
    HTH.
    Regards,
    Arun

  • How can i find out the Location of fmx file in the forms

    Hi,
    I want to find out the drive name,WHich Contains Fmx file. How can i find it out(at run time) .
    It should be found inside the form.So that i can pass it as a parameter to a Procedure.
    Thanlks in advance.
    regards,
    Alok Dubey

    hi,
    if you are using Client/Server forms with d2kwutil then this should return form full name :
    win_api_environment.get_working_directory() || get_form_property(:System.Current_Form,FILE_NAME)
    engin.

  • Getting Error  while opening the form

    Hi All,
    I am getting error "Frm - 10102: Can not attach PL/SQL library d2kwutil.pll.This library attachment will be lost if the module is saved". Please advise.
    Thanks,
    Tandra

    We are using win_api_environment.Get_Connect_String function.
    One more problem i have.I am not able to run the form like when i am running the form, the form is getting closed. I am using Oracle AS Form services to run the form. I have started OC4J Instance.
    Can you please suggest what steps i need to do in order to run a form in 10g?

  • Forms Migration from 4.5 to 10g

    Hi ,
    I want to migrate my forms from 4.5 to 10g so i did following steps:
    1. Installed Developer suite 10g
    2. Took a sample form developed in 4.5 and comiled it in 10g builder utilized the
    sample.fmx file for 10g the test was successful ,
    I need to migrate a complete application developed in 4.5 forms to 10g and I have
    some existing libraries which I use in my forms , now i'm stuck how to utilize them for
    10g as whenever I open the forms in 10g builder it asks me to remove the library.
    Can please anyone inform me how to utilze the my own user built libraries and esp .
    how to repalce D2KWUTIL with WebUtil and is the way i'm approaching for migartion
    correct ?
    Thanks.
    Jonty.

    Hi ,
    Thanks for the reply ,
    but still i'm not clear how to utilize my libraries as even if i migate to Forms 6i
    which in turn also supports D2KWUTIL ,so how to utilize Webutil instead of
    D2WUTIL while migrating from 6i to 10g.
    Is there any document or paper in suport to it.
    Thanks.

  • How to kill session in forms

    In my application I want to kill session if any user
    is idle for 2 minutes.
    I am using oracle forms 6i and database oracle 9i

    You have to use D2KWutil.pll
    In when new form instance write the following code
    declare
    hWind PLS_INTEGER;
    CheckTimer TIMER;
    begin
    hWind := get_window_property(FORMS_MDI_WINDOW,WINDOW_HANDLE);
    Win_API_Session.Timeout_Start_Timer(hWind);
    CheckTimer := Create_Timer('CheckTimeout',1000,repeat);
    end;
    and in when timer expired trigger write the following code
    begin
    if upper(get_application_property(TIMER_NAME)) = 'CHECKTIMEOUT' then
                   :timer.t1 := Win_api_session.Timeout_Get_Inactive_Time;     
    if :timer.t1 > 120 then -- timer is a block and t1 is text item (don't assign a canvas to it, make it invisible)
    Win_API_Session.timeout_delete_timer;
    exit_form (NO_VALIDATE);
    end if;
    end if;
    end;
    hope this helps !!

  • GET_FILE_NAME NOT WORKING IN ORACLE FORMS 9I

    PLEASE HELP THIS COMAND WORKING IN FORMS 5 BUT NOT
    WORKING IN FORMS 9I TO OPEN THE DAILOG BOX AND GET IMAGE FILES
    TO SAVE ON FORMS 9I PLEASE HELP.
    declare
    salfile varchar2(255);
    begin
    salfile:=get_file_name('C:\emp\',NULL,'JPG FILES (*.JPG)|*.JPG|','IMAGE LIST');
    read_image_file(SALFILE,'ANY','ISLAM.EMP_IMAGE');
    END;
    THANKS & REGARDS.
    M.Z.ISLAM

    Forms 5 is a client/server application, so it looks for files on your local c: drive.
    Forms 9i is a web application, so in principle it will now look on the server's c: drive.
    However, get_file_name is not a standard Forms procedure. My guess it that it is one of your own procedures and it uses the d2kwutil library. This library won't work in a web environment.
    If you want to do something with files on your local PC in a web envirionment, you will have to use webutil.

Maybe you are looking for