How to displays the standard open file dialog box in Oracle Apps Server

Hi,
I am having a form, where i am opening a file and putting that file content in a text box.
This is my code written in WHEN-BUTTON-PRESSED trigger:
declare
in_file Text_IO.File_Type;
linebuf VARCHAR2(8000);
filename VARCHAR2(30);
BEGIN
filename:=GET_FILE_NAME('d:\Rajesh\Practice', File_Filter=>'Text Files (*.txt)|*.txt|',select_file=>false);
in_file := Text_IO.Fopen(filename, 'r');
LOOP
Text_IO.Get_Line(in_file, linebuf);
:text_item5:=substr(:text_item5||linebuf||chr(10),1,5000);
END LOOP;
EXCEPTION
WHEN no_data_found THEN
Text_IO.Put_Line('Closing the file...');
Text_IO.Fclose(in_file);
END;
I have posted this in ORacle Apps Server.Where i was not able to get the Open Dialoq Box.It is giving an error as
"FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000.".
I think the GET_FILE_NAME function is not supported in the Apps Server.
Is there any alternative solution for getting the OPEN DIALOG WINDOW in Oracle Apps Server?
Pls let me know.

Hi!
waldemar.hersacher wrote:
"It seems that the VIs called by the clients are running in the user interface thread.
A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
2 linus:
I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
cle, which responsible for visualization will run continuosly at the same time...
Attachments:
no_block_with_file_open_dialog.zip ‏42 KB

Similar Messages

  • I am trying to open CR2 files from a Cannon EOS 1DX camera in Photoshop CS6 and I have already updated the Camera Raw Plug in but Photoshop is still giving me the cannot open files dialog box? Help?

    I am trying to open CR2 files from a Cannon EOS 1DX camera in Photoshop CS6 and I have already updated the Camera Raw Plug in but Photoshop is still giving me the cannot open files dialog box? Help?

    Canon 1DX support was added to ACR in version 6.7, 7.1.  An updated CS6 should be at level ACR 8.6.  If your ACR is not at level 8.6 try using CS6 menu Help>Updates.  If that does not install ACR 8.6 try downloading the ACR and DNG 8.6 converter and see if ACR 8.6 will install into your CS6.
    Adobe - Adobe Camera Raw and DNG Converter : For Windows
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh

  • Please fix: Common Open File Dialog Box to support Favorites (Follow-up: Better provisioning in the Windows client)

    One more thing:
    What's missing is favorites is a way to use the favorites space in the Common Open File Dialog Box.
    Please obsolete or (re)develop components in Windows, so those components support any new workflows in Windows!
    On example of an application where you cannot use Favorites is Adobe Photoshop. It uses the Common Open File Dialog Box in Windows (which does not support Favorites).
    Comparing Finder (MacOS) with Windows Explorer - you "seem" to have the option of using favorites to pin folders.
    Well, if your application calls Windows to use the Common Open File Dialog Box - it's actually NOT POSSIBLE AT ALL to navigate to the user concepts (user folders) pinned to favorites.
    Again, the favorites namespace is completely unused (not provisioned) out-of-the-box. That's may be ok, however it's not fully implemented across Windows and just another example of stuff accumulating up to being unusable.
    What's missing is favorites is a way to use the favorites space in the Common Open File Dialog Box.
    Ref.: Better provisioning in the Windows client
    https://social.technet.microsoft.com/Forums/en-US/dbb2102f-00b7-47ca-88f2-4f88cd9d3409/followup-starting-launching-and-switching-?forum=WinPreview2014Feedback#2aba34e9-6074-4750-8f66-425bdeacc705
    https://social.technet.microsoft.com/Forums/en-US/168bb9f9-ab18-42e6-9f20-5e36e71f742c/merging-the-task-bar-and-the-start-screen-area?forum=WinPreview2014Feedback#168bb9f9-ab18-42e6-9f20-5e36e71f742c
    https://social.technet.microsoft.com/Forums/en-US/59a5bb6a-0368-4f34-bea4-b9811ac0bf8c/dont-forget-development-of-the-start-screen-remember-virtualization-of-it-too-purpose-is-hud?forum=WinPreview2014Feedback#59a5bb6a-0368-4f34-bea4-b9811ac0bf8c
    https://social.technet.microsoft.com/Forums/en-US/c10168fe-a534-44aa-a0ec-e9defc71da5f/better-provisioning-in-windows-client-remember-templates-for-the-start-screen-like-the-need-for?forum=WinPreview2014Feedback#c10168fe-a534-44aa-a0ec-e9defc71da5f

    Congrats to Carmelo!
     Windows Phone and Windows Store Apps Technical Guru - February 2015  
    Carmelo La Monica
    Windows Phone 8: control Nokia Maps (Part 3)
    JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
    Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
    article!"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How can open File Dialoge Box in Oracle9i

    can any one tell me how can i open file dialoge box in oracle 9i i am using webutil but when i run this code.. there is an exception during runtime.. not compile time.. so plz tell me how can i open file dialoge box.. thx..
         declare
              file_name varchar2(100);
         begin
              file_name := client_get_file_name(FILE_FILTER=>'TEXT FILES (*.txt|*.txt|');
         end;

    Please do not post the same topic in multiple forums. The
    only thing I can suggest is when they click on the button to
    download, you take flash out of full screen while they download the
    video, you can use fileReference to control and monitor the
    download. Use a listener object to monitor when download is
    complete, then set flash back to full screen.
    How are you scripting the full screen?

  • ICloud doesn't show up in Numbers open file dialog box

    How do you add iCloud to the Numbers open file dialog box? It doesn't show up for me. I've already set up iCloud in my system preferences and enabled document synching.

    Unfortunately, since I don't use iWork on my Mac I'm not going to be much help.  But unless there's something in Numbers settings that you need to enable to use iCloud like you do in the iOS version, all you should need to do is enable Documents & Data in System Preferences>iCloud, which you said you already did.  You might try unchecking this setting in System Preferences, restarting your Mac, then checking it again to see if that makes any difference.  That is a standard troubleshooting step for other iCloud syncing issues.

  • How to open the windows open file dialog in forms60

    Hello to all
    Please help have a form with a browse button.I need to open the windows open file dialog so the end user can search for a file.Can it be done with OLE or DDE package?
    Any sample code is much appreciated.
    Thanks in advance

    The options you are considering suggest that you are running client-server ( it really would help if people told us ),
    If that is the case you can use the GET_FILE_NAME built in.
    Bear in mind that oracle consider client server obsolete and this will not work the same on the web, although you can use webutil in later versions.
    I hope forms product management notice what a high proportion of questions on this forum are about forms 6.

  • When I hit the escape key to close out the open file dialog box, firefox hangs or crashes.

    When I open the "open file" dialog box using the ctrl+O and then hit the escape key to exit the box, I get an error message which I'm not able to paste here.
    it says something about a runtime problem and if I try the same thing again to reproduce the problem, it will sometimes just hang and windows vista will tell me the program is not responding.
    I've checked to see if there are any crash IDs but none were found for this time frame.
    I have even disabled all add ons.
    I'm currently using vista 64 bit edition and Firefox 6, beta edition.

    Hi,
    Please also try right-clicking on the link corresponding to the language version and '''Save Target As''' to save the Firefox installer. If the problem persists, posting [http://answers.microsoft.com/ here] would also be helpful.
    [https://www.mozilla.org/en-US/firefox/all.html Firefox Latest]

  • How to Shw Open File Dialog Box

    Hi all,
    Can anyone help me plz.
    I am designing an interface using forms 9i where data entry operator has to insert data for products in the database. Also we want to store the image of the product. so I want to show an open File Dialog box from where user can pick a file and click ok & if it returns the file name with complete path, then i can read the contents of image using read_image_file.
    So, is there any Oracle built-in for that???
    Thanks in advance

    Thanks Ronald webutil worked successfully.
    But i am facing following error when i try to go to the Canvas provided by the Webutil setup(olb).
    Error is given Below:
    1. FRM-13008; Can't find java bean with name 'oracle.forms.webutil.ole.OleFunction'.
    Previously it was giving errors on all JavaBean classes then i put the path of webutil.jar file in registry as given in the documention. It works ok for other java beans but why above error is coming.
    plz Help.

  • How to trigger an "open file" dialog box

    I am using forms 10g. Does anyone know of codes to trigger "open file" dialog box in a button object?
    My goal is that the user may be able to select a file from his terminal by clicking a button.
    Thanks in advance.

    As aweiden suggests, there are additional setup steps that have to be completed on your workstation as well as the Forms server so you can use the WebUtil library. If you are using Forms 10g R2, then I recommend you conduct a search of the Forms Help system (Search tab) on "WebUtil" and select the "Configuring WebUitl" topic. If you are on Forms 10g R1 (9.0.4), then you had to download and install WebUtil on your workstation. I recommend you read the Web_Util.pdf in the "DOC" folder an follow all of the steps in Chapter 2 : Configuring WebUtil.
    Craig...

  • Open file dialog box - Excel 2011

    Not sure if this is the right forum to ask a question about running Office 2011 under Mavericks.
    Since upgrading to OSX 10.9, something very odd seems to have happend to the open file dialog box in Excel. The list of the files in the current folder is displayed, but the filename column is really narrow showing just 7 characters of each name. In contrast the date modified column is incredibly wide. I can manually adjust the filename column to make it wider so I can read the filenames, but each time I reopen Excel it has defaulted back to being very narrow.
    Does anyone know if there a preference setting somewhere that I can change in order to make the width default to something more readable so I don't have to manually change it every time I want to open a file. The Word and Powerpoint open dialog boxes appear normal, so the problem seems to be confined to Excel.
    I had been running the same version of Office 2011 under Snow Leopard and the change to Excel only appeared after upgrading the OSX 10.9.

    MalcolmBebb@Honeywell wrote:
    OK, I was a bit hasty. The thanks stand. Can't see how to edit the post, please consider the rest withdrawn.
    It's okay - we all get like that at some time or other.  I dread reading my posting history for that reason. 
    I'm just glad you got exactly the help you needed. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Why can't I preview indd files within InDesign's open file dialog box?

    Hello all,
    It is bad enough that Adobe doesn't add a plugin to preview any Adobe source file within Windows Explorer (well, except for PDF but I think Microsoft did that).
    But I find it ridiculous that I cannot preview .indd source files inside InDesign's Open File dialog box. It just states, "No preview available". I am sure this failure is tied into what Windows can preview... still, not a good excuse!
    This is also the same problem in both Illustrator and Photoshop.... neither Adobe program can preview their own file format!
    WHY?  OR How can I correct this?
    [UPDATE: SageThumbs | SourceForge.net seems to partially work on many Photoshop files (works reasonably well as long as I limit the file size to 70mb), it doesn't seem to work on Illustrator files (despite the claim), and it doesn't work on InDesign.]
    Still, the question remains, why isn't Adobe taking responsibility for this? 

    I think you all misunderstood.
    I am referring to opening files *within* the Adobe software. Example: Inside InDesign, I click File > Open... I see a list of my .indd files and to the right is a window with the words, "Select a file to preview."  If I select an .indd file, I think it is reasonable to assume that I will see a preview of the .indd file... but NO, I just see the message, "No preview available."
    In my opinion, this is a failing of Adobe!
    > Use bridge
    Why would I want to open a separate program just to see thumbnails? Sure Bridge has its uses when I want to look at a lot of different images but I am only talking about quickly seeing a thumbnail before I open a single file within either InDesign, Photoshop, or Illustrator.
    Q. If Bridge can render thumbnails, why on Earth would Adobe not place the preview code into the open file dialog of each program?

  • Suppressing error 8 occurred at open file dialog box

    Hello,
    I am getting randomly occurring "error 8 occurred at open file" dialog
    boxes every couple of days. This is stopping all of the data collection
    on all of the vi's on the pc. In order to continue all that is needed
    to hit continue. Is there a way to suppress this dialog box?

    There's a vi called Clear Error, in the Dialog and User Interface section of the palette.  If you wire the error out of the offending vi to the error in of the clear error, your problem should be solved.
    Technically I think you can wire the error out to just about anything that ends (as in, to the side of a case structure or loop or something, so long as nothing is connected to it further).  I think as long as LV thinks that you've handled the error (i.e. wired anything out of the error out), the dialog box does not come up.
    Message Edited by Novatron on 07-07-2006 11:02 AM
    Attachments:
    No Error.jpg ‏5 KB

  • How do I fix the slow attachment file dialog box in Mail?

    I'm on 10.9.2, using Mail with an Exchange account. Everything works great except when I go to attach a file to an outgoing email the file dialog box takes ~1 minute to open. Only app I've seen this in.
    I've tried the fixes posted for the general file dialog box being slow (e.g. comment out "/net" in the "auto_master" file) to no avail.
    Other thoughts?

    Click on the Firefox menu. Then click "Options". Go to "Applications" tab. Search for jpg and png file type. You will find they have "Always ask" action attribute. Change it to "Save file".
    Hope it will work fine for you.

  • What is the open File Dialog box

    I am using a "File Browse..." item. With firefox a user can click on the provided Browse button or the corresponding text area to choose a file. However with IE7 the file dialog box on appears if the user clicks on the browse button.
    Can someone tell me what javascript can be used to open a file dialog box? (what is called when the browse button is clicked)
    Thanks.

    Thanks Carl,
    I thought APEX was doing some crazy javascropt stuff because I forgot about a style I had set.
    Anyway, I was getting an error if an IE7 user types in a crazy string into the file dialog box and hit submit (since it is not a file). So instead of preventing it I just used a try/catch block in my custom doSubmit. If anyone else runs into this here is a little javascript to help:
    (I am used a uploading image, Carl has an example of that somewhere)
    <pre>
    function doSubmit(r) {
    if (ser_changed.length > 0) {
         if (r == "UPLOAD" || r == "SAVE_CHANGES" {
              flowSelectAll();     
              $x_Value('pRequest',r)
    if (r == "UPLOAD") {
    try {                              /// this is where my fix is.
              document.wwv_flow.submit();
    catch(err) {
    html_HideElement('AjaxLoading');
    alert('Invalid file');
    } else {
    document.wwv_flow.submit();
                   }//save changes and stuff as request.
    else {
              var ans = confirm("You are about to exit the page without saving your changes!" + '\n' + "Click cancel to return to the page.");
              if (ans) {
              flowSelectAll();     
              $x_Value('pRequest',r);     
              document.wwv_flow.submit();
              }//when yes!
    $x('CANCEL_BUTT').disabled=false;
                   }//not save changes and stuff
              }//when there were changes made.
              else {
                             flowSelectAll();     
              $x_Value('pRequest',r);     
              document.wwv_flow.submit();
              }//where there were not changes made
         }//doSubmit
    </pre>
    <pre>
    function html_Submit_Progress(pThis,topass){
              if(pThis.nodeName=='INPUT'){pThis.value='...Loading...'}
    else{pThis.innerHTML='...Loading...'};
              html_ShowElement('AjaxLoading');
    window.setTimeout('$x("wait").src = $x("wait").src', 100);
    doSubmit(topass);
    </pre>
    Edited by: cmorris260 on Sep 19, 2008 3:30 PM
    Edited by: cmorris260 on Sep 19, 2008 3:31 PM

  • Problem using the File Dialog Box in a Client/Server application

    I am developping a client-server application using Labview 5.1 . The application on the server acquires data from some instruments and saves it on file, while the application on the clients displayes such acquired data. For doing this I call some routines on the server via the "Open Application vi" (remote connection). All goes well except when I open on the server the "File Dialog Box vi" : in this case the application on the clients is blocked (is blocked the execution of the called vi on the server). Only when
    the File Dialog Box on the server is closed, the execution of the called vi on the server starts again.
    I need to use the File Dialog Box on the server, but I don' t want to stop at the same time
    the clients !!
    I need help for resolving such problem.
    Many thanks in advance !!!

    Hi!
    waldemar.hersacher wrote:
    "It seems that the VIs called by the clients are running in the user interface thread.
    A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
    Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
    2 linus:
    I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
    cle, which responsible for visualization will run continuosly at the same time...
    Attachments:
    no_block_with_file_open_dialog.zip ‏42 KB

Maybe you are looking for

  • Service Interface: How to create an SDO graph with tow Objects

    Hi, I want to create a Web service interface on top of my application module. Using the Service Interface I select the app mod, service methods and view objects from the data model. My data model consists of a master detail relationship. The Web serv

  • Problem with NETWORK_CHANGE

    I used this code in Flash CS4 and it worked. Now using Flash Builder 4.0.1, AIR 2.0.2 on a Mac OS 10.6.4 and I get an error. NativeApplication.nativeApplication.addEventListener(Event.NETWORK_CHANGE, onNetworkChangeHandler); private function onNetwor

  • Problem with ALV in Docking container

    Dear All, I have created an <b>editable ALV</b> in a <b>docking container</b>. In this ALV there are some custom buttons in the toolbar. In case a custom activity, in the toolbar, is executed some checks are performed which when fail an error message

  • Photos not viewable

    I have an iMac and iPhoto. I was playing around, and somehow navigated to my Pictures folder and noticed that some of my pictures were stored under folders titled rollxxx (where xxx was a number). All the pictures I moved over from another computer w

  • JOURNAL Script issue (NW7.5 SP9)

    Dear I meet a problem. First, when I post a journal on server,it's normal. Second, I post another journal which has the same Entity / Acct  members The second journal  covers the first journal following is my journal script *WHEN FLOW   *IS <> "F99"