Win_api_dialog

Hello,
Can anyone tell me, if there is a substitute for win_api_dialog.save_file in webutil?
Thanks in advanced
JA

Hello,
Webutil_File.FILE_SAVE_DIALOG()Francois

Similar Messages

  • Problem with "win_api_dialog.Save_File"

    Hi friends,
    I have a problem with this simple code in forms 6i (WinXP):
    DECLARE
         w_file varchar2(4000);
    BEGIN      
    w_file:= win_api_dialog.Save_File ('Hello);
    END;
    It compiles ok, but it doesn't work at runtime.
    I've read lot of posts in the forum about similar problems and the answer used to be about the d2kwut60.dll and d2kwut32.pll and .plx paths...
    Well, I've copied d2kwut60.dll to all /bin oracle directories :-p (so.. I think that's not the problem)
    I've copied d2kwut32.pll to the same directory of my .fmb file, and recompiled it.
    It doesn't work ... Any ideas?
    (I have to use "win_api_dialog.Save_File" instead GET_FILE_NAME or other solutions...: for the people who recommed that posibility)
    Thanks,
    Jose.

    Hi Jose,
    about win_api.preload... I have pasted a piece of D2KWUTIL.PLL:
        * PreLoad ->  Loads the DLL into memory
        *             DLL_Location argument allows you to explicitly load
        *             from a particular place
       PROCEDURE PreLoad;The problem sound like a DLL load problem. In same file you can read the search path to find DLL library:
      -- Search Path is:
      --  1. Preload override location set by WIN_API_PRELOAD.SET_LOAD_LOC
      --  2. D2KWUTILnn_PATH e.g. D2KWUTIL60_PATH
      --  3. D2KWUTIL_PATH
      --  4. Working Directory / O/S Path
      --  5. \Bin directory based in ..\bin
      --  6. %ORACLE_HOME%\BinWe have used this library regulary and it works fine.Feel free to send me a FMB test file at jcarmona arroba eprinsa.es in order to test it in my environment.
    Regards,
    Jose Carmona

  • Problem with Win_api_dialog.open_file

    I am trying to use win_api_dialog.open_file in a when-mouse-double-click trigger. I have attached the library (d2kwutil) to the form and placed the .dll files (d2kwut32.dll and d2kwut60.dll) in the bin. The code will compile cleanly but at runtime, I get FRM-40735/ORA-060508, saying that the function cannot be found. I think that this is a problem with the .dll files but cannot figure out why. I am on Forms 6i. I am presently using the get_file_name() function to perform the task, but I would like to use the api b/c you can change the dialog on the top of the box. Anyone know how to make it work? Thanks...
    KS

    Hi Jose,
    about win_api.preload... I have pasted a piece of D2KWUTIL.PLL:
        * PreLoad ->  Loads the DLL into memory
        *             DLL_Location argument allows you to explicitly load
        *             from a particular place
       PROCEDURE PreLoad;The problem sound like a DLL load problem. In same file you can read the search path to find DLL library:
      -- Search Path is:
      --  1. Preload override location set by WIN_API_PRELOAD.SET_LOAD_LOC
      --  2. D2KWUTILnn_PATH e.g. D2KWUTIL60_PATH
      --  3. D2KWUTIL_PATH
      --  4. Working Directory / O/S Path
      --  5. \Bin directory based in ..\bin
      --  6. %ORACLE_HOME%\BinWe have used this library regulary and it works fine.Feel free to send me a FMB test file at jcarmona arroba eprinsa.es in order to test it in my environment.
    Regards,
    Jose Carmona

  • Win_api_dialog.select_printer

    Hello all,
    I have upgraded an app from 4.5 to 10gr2 and i have deployed webutil, now i needed to know if there's any utility in webutil that can substitute win_api_dialog.select_printer(PrinterName,Port).
    Thanks in advanced
    JA

    Does this help?
    Forms-Reports Web : Direct print a file to a local printer

  • WIN_API_DIALOG.OPEN_FILE & GET_FILE_NAME both not working in 3-tier

    Dear Friends,
    I want to Use open Dialog window for client Machine,
    So that user can Select any file.
    I am using Form 6i as front end,
    This thing have to be done by any means in forms 6i only.
    So does anybody have any idea over this.
    I Have used Get_File_Name But It Doesn't work on Web,
    Beside this I have used D2kutil this works in the web but Open dialog window open in the Server even if it is called from client machine,
    I Want open dialog window in any machine from where the Application is Used
    So Please If Any body have worked on this, plz give me guidelines.
    Regards
    Piyush

    You must alway keep in mind that in 3 tier environment, whatever command you use to interect with the host file system or operating system, it's the application server's host that you are interacting with.
    In case you want to do that on the client machine you have two choices, using Webutil or PJC.
    My suggestion goes with Webutil since it is the whole package and the complete solution for client side interaction.
    You can download it from this link:
    http://www.oracle.com/technology/software/products/forms/files/webutil/webutil_106.zip
    Regards,
    Tony Garabedian

  • Copy file from SMB share to Desktop permissions

    I have connected to a SMB share point (Windows Server)and copy a file to my desktop (Mac OS X 10.6.4).
    The file on my desktop shows I have the read and write access, however, everyone has no access.
    I could not get the system administrator to change on the server side. Is it possible to make any changes from my machine to make at lease every has read only access?
    Thanks in advance.

    I downloaded D2KWUtil from the link suggested by you. It has very nice example demo form. But the documentation provided says following
    Using D2KWUTIL in Web Deployed Applications
    The use of this library is not supported with Web deployed applications.
    In a web deployment scenario not all functions within D2KWUTIL will work. Any function that interacts with the User Interface (such as those in the WIN_API_DIALOG package) will fail.
    Any interaction with the O/S by other functions will all be executed on the NT server and will act within, or return information pertinant to, the environment on that machine. For instance GET_COMPUTER_NAME will return the Server’s name, not the name of the computer that the Client browser is running on. Likewise COPY_FILE will copy files in the Forms Server not on the Client.
    Functions such as those in WIN_API_BITOP will continue to work without change.
    so this will not work in web deployed application.
    Any other suggestion?
    Thanks

  • Copy file from client PC to server in a web deployed application

    I have developed one application using Oracle forms 6i, which is deployed on the web server.
    I run this application from a client PC in Internet Explorer using internet.
    I want to copy one file from the client PC to the web server.
    I have done following things
    - Created a shared folder on the server and given full rights to every one on this folder
    - I use 'net use' command in my program to connect to this shared folder
    - I use copy command to copy file from local client pc to server. This copy command I am executing using host command of my programming (PL/SQL: eg. host('copy abc.txt \\server\share\') )
    But this does not work.
    When I do the same thing in command window, it works.
    (ie. Start-Run cmd to open command window and then type the above copy command)
    Can you please tell me, how to copy a file from client PC to the sever in Web deployed application?
    Thanks

    I downloaded D2KWUtil from the link suggested by you. It has very nice example demo form. But the documentation provided says following
    Using D2KWUTIL in Web Deployed Applications
    The use of this library is not supported with Web deployed applications.
    In a web deployment scenario not all functions within D2KWUTIL will work. Any function that interacts with the User Interface (such as those in the WIN_API_DIALOG package) will fail.
    Any interaction with the O/S by other functions will all be executed on the NT server and will act within, or return information pertinant to, the environment on that machine. For instance GET_COMPUTER_NAME will return the Server’s name, not the name of the computer that the Client browser is running on. Likewise COPY_FILE will copy files in the Forms Server not on the Client.
    Functions such as those in WIN_API_BITOP will continue to work without change.
    so this will not work in web deployed application.
    Any other suggestion?
    Thanks

  • Table usage in a module component necessary?

    hi,
    i would like to design a simply forms application. I need only two unbound text-fields (and two buttons) in a window.
    I create
    1. a module
    2. a module component
    3. four unbound items (two text; two button)
    4. I get the following generation error:
    CGEN-00041 ERROR: Module: MY_MODULE has no module components and/or table usages
    6. Ok, I create a table usage with one bound item (Rows Displayed = 1, Display = no)
    It is really necessary to create a table usage? I only need four unbound items(!!!)
    in a forms mask. The data will be not save in database, but they are important for a win_api_dialog in my application. I choose one of x tables in the base table usage window. Perhaps it is better to select the DUAL table!? Does anybody know an another solution without creating a table usage?
    best regards,
    tom rakete

    hi jflack, lennartv,
    I found a solution to generate a forms module without a table usage in the designer. After creating two unbound items I create an action item. I set the datasource type of the module component to >>none<<, because there is no table usage. Now the generation is successful.
    best regards,
    tom

  • Printer selection in Forms 10g

    Hello,
    I am looking for a suggestion, to realize a printer selection in Forms 10g.
    For a migration I have to replace the command
    win_api_dialog.select_printer with something similar.
    Some threads suggest to implement a java class.
    Under
    How i select printer in Forms9i
    exist an example.
    The implementation there is based on the JDK 1.4.
    I need an implementation based on JDK 1.3.
    Inside of the JDK 1.3 exist only a simple printer dialog.
    (compare http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4645377 )
    Probably exist the option to use the C-API of WebUtil. The C-API could be used to start a printer dialog of a dll. I like to avoid this option, but if you an example for that option, I appreciate to see an example for that.
    In all other respects, I hope on your suggestions.

    I invest some more time on that topic, but did not found a solution to display a printer selection on the client.
    The only thing that i found in forum was that you can read the standard printer out the registry. But I would need all local installed printers.
    I hope on your help.

  • Runtime error in RWRBE60.EXE

    is there any bug in RWRBE60.EXE?
    When I send a report made in reports v.6i from forms v.6i, appear a message:
    RWRBE60 cause an error of invalid page in the module RWLIB60.DLL
    This occurr when the mode of the report is character and it send to Dot Matrix Printer, selected with the win_api_dialog.select_printer library and sent it via mode and destype parameter

    sorry, I used Mode and DesName parameters (not destype)
    I was doing various reports with several parameters and the error appear only when I use 'DESNAME' parameter with the mode character.
    Any body know why?
    do I need a patch or something else?

  • How to select the Printer in Oracle Reports 6i R2 (Windows 7)

    Hi,
    In a client site they have more than one printer suppose one is dot matrix and other one is laser printer or some other brands.
    They take printouts in both. Recently I installed Oracle Forms & Reports 6i R2 Runtimes in some Windows 7 32 bit PCs. In those PCs, its not allow to choose the printer, it print with windows default printer.
    So Is there any way to give an option to select the printer...??
    Thank You.

    Client/Server version:
    - D2KWUTIL.PLL library provides a 'Select Printer' dialog box to be used in Forms: WIN_API_DIALOG.SELECT_PRINTER
    http://guenter-huerkamp.dyndns.org/oracle-doc/docs/html/d2kwutil.html
    I suggest you to create a form to invoke the report, allowing user to select the printer and then pass it as parameter DESNAME

  • How to load images from file system and save in database

    Hello Fellows!
    I have a problem and try to explain:
    Plateform:
    Operating System: Windows 98, Form 6i and Oracle 8
    Table in the database
    Table:Emp_pic with columns i.e. (empno and pic type long raw)
    In forms, I have a data block which contain the columns of the emp_pic table and a control block which have a push button contains the trigger as follow, also attach PL/SQL library i.e. D2kWUTIL.PLL
    When-Button-Pressed (Trigger)
    Declare
    temp varchar2(400);
    Begin
    temp := win_api_dialog.open_file('Open File','d:\pic','*.tif',true,win_api.ofn_flag_default,false);
    read_image_file(temp,'tif','emp_pic.pic');
    end;
    The problem when I pressed the button it does not display open dialog box what is the wrong with the code or else.
    Thanks in advance
    (BASIT)

    What do you mean "it did not work"? You need to post more information, such as what errors you got.
    My guess is that it did work, but it ran on the middle tier, which is where Forms is running. Commands like that need more work to execute on the client.
    Go to the Forms area on OTN and download the Oracle9i Forms Samples. They have demos and source code to move files from the client to the server.
    Coming soon will be a utility called WebUtil which will make this even easier.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Get_file_name is not working on web

    hello friends,
    i am developing one form that include open dialog on when button press trigger
    it will work well but when running that form on web is not working
    also don't show any kind of error
    so, how to solve this proble
    i am using forms 6i..
    any other option 4 that
    i have tried win_api_dialog but when i running that on web then it gives me error
    frm-40734
    thanx in advance

    You cannot use GET_FILE_NAME in a web form because it will attempt to open the dialog box on the server and not the client.
    In a web form, only the presentation layer is seen by the end-user. All of the pl/sql is executed on the application server.
    You will need to create a Java Bean to perform any client side tasks in a web form for version 6.x. In Forms 9.x and newer we offer WebUtil. WebUtil is an add-on which offers many client side features. Unfortunately, WebUtil is not supported for use in Forms 6.x. Further Forms 6 is no longer supported.
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm

  • OPEN FILE DIALOG BOX FLAGS

    Does anyone know the correct syntax for entering multiple
    Advanced Flags when calling win_api_dialog.open_file?
    The call looks like:
    win_api_dialog.open_file('Box Title','starting directory','File
    Filters',MODAL (boolean),Advanced Flags,Raise Exceptions
    (boolean);
    The advanced Flags parameter defaults to ofn_flag_default, which
    consists of WIN_API.OFN_PATHMUSTEXIST,
    WIN_API.OFN_FILEMUSTEXIST, WIN_API.OFN_HIDEREADONLY, and
    WIN_API.OFN_NOCHANGEDIR. I need to add
    WIN_API.OFN_ALLOWMULTISELECT to the list. What is the proper
    sysntax to pass in multiple flags? I've tried quoting a pipe
    delimited list, but no luck.
    Thanks.
    Jim Gram

    Just Add them together:
    e.g.WIN_API.OFN_PATHMUSTEXIST + WIN_API.OFN_FILEMUSTEXIST

  • Save in different formats

    Hi There!
    I have a form in which I need to make the user choose the format in which he wants to save the data.
    I know that if I want to make him save the data in *.txt what I have to use is:
    Win_Api_Dialog.Save_File
    ('.txt',
    SMensaje,
    'c:\',
    'Text files(*.txt)|*.txt|');
    Anyone knows how can I do to make him choose between: txt, pdf, xml, xls, doc, etc.
    Thanks in advance
    Vero

    Or try Image Processor Pro:
    http://blogs.adobe.com/jnack/2011/05/new-image-processor-pro-script-for-cs5.html

Maybe you are looking for

  • F110 - Automatic Payment Program - Payment Proposal Error

    Hi Folks, I am running Automatic Payment Program on F110. I have completed all the procedure in FBZP. The Error is Company codes ZZZ1/ZZZ1 do not appear in proposal 07/30/2008 RUN01; correct Its says, No data exists for the specified paying company c

  • How to Copy SapBouicom.dll to destination folder

    Hi, I am using .net 2005 to create an installer for the addon. The probem is that sapbouicom.dll files are not getting copied  to the destination folder.Only installer and addon exes are extracted to the destination folder. If the dll files are manua

  • NEED HELP SETING UP SECOND PC

    Hy I have a WRT54G version 1.01. My main PC is conected by cable to router and second PC is also conected by cable to router. I have not been able to have the browser open because the page doesn´t load. At the bottom of the task bar I can see the int

  • PS CC permissions on 10.9 ?

    I have a problem when editing video in ps cc after latest upgrade. I am  running 10.9 on MBPret. When I attempt to cut a clip in CC I get a box saying Program Error and it does not go away so I have to force quit. If I apply another user to my MBP I

  • Cannot drag files to trash

    I get error -43 : some necessary elements are missing ?? Repaired permissions but still can't trash the folder even though the files in it are readable/copyable and all Folder is not locked either