Forms 6i (select) open Directory dialog box

Hello
is it possible to display the windows DIRECTORY selection dialog box in Forms 6i?
I know d2kwutil WIN_API_DIALOG. OPEN_FILE, SAVE_FILE, but I want open dialog box which allows you to select a directory, no user file.

Do you know how can I achieve this?

Thank you

There is a parameter of the function client_Get_File_Name/Get_File_Name SELECT_FILE. This false value to select directories, only.

Tags: Oracle Development

Similar Questions

  • Open Directory dialog box does not work in FM 10 if client API is not built with 10 FDK

    Hello

    We have a FrameMaker API client that we have maintained for more than 10 years, since before the FM 6.

    We just brought the code of FDK 7 to 9 FDK so that we can finally move 7 FM support and focus on FM 9 and 10 features. Almost all the code works fine, but we have problems in a function that uses F_ApiChooseFile in FV_ChooseOpenDir mode.

    We do nothing special in the code (I am aware that by passing a value into directory argument can cause the function returns without displaying the dialog box) and you use F_ApiChooseFile in its simplest form:

    IntT err;

    StringT stemp;

    ERR = F_ApiChooseFile (& stemp, (StringT) "Select the folder containing the files to be processed.", (StringT) "", (StringT) "", FV_ChooseOpenDir, (StringT) "");

    When we create our DLL using FDK 9 client and run it in FM 9, the directory chooser dialog box appears correctly and the user can select a directory.

    When the same DLL is running in FM 10, the dialog box does not appear and the function returns immediately with err =-1 and FA_errno no error reported (as if the user has clicked Cancel).

    If I recompile the DLL using FDK 10 dialog work in FM 10, so the problem seems to certainly be related to backward compatibility with a DLL built with an earlier version of FDK.

    Unfortunately, you cannot run a DLL of FDK in FM 9 10 and we do not want to distribute and maintain two different versions of our DLL to support 9 FM and FM 10 users.

    Is there a solution to this?

    This bug was introduced in FM10. Until FM9, FV_ChooseOpenDir was #defined as "3", while in FM10, it was changed to '4' (as part of the evolution of these sets to focus on the value of flag-based). What customers can do to overcome this, is to get the FM using 'FP_VersionMajor' version, and for versions before FM10, they can pass 3 'in FM10, as an argument, the argument will be 4'.

    We will ensure that we will honor the 3 and 4 as "FV_ChooseOpenDir" in the future, but until then, workaround above should work.

    Kind regards

    Rene beauclair

  • Open/Save dialog box as in Windows 7 appear not

    Hello

    I have an intermittent problem with Windows 7.  I tend to keep the programs up and running for weeks, because every day instead of shutting down the computer, I put on standby.  The problem is, after a few weeks to go in and out of sleep, the open/save as box stops in programs which were broadcast during weeks of dialogue.  Here is an example:

    I open word, excel, firefox, January 1.  I opened random documents by clicking through Explorer or just browse the web.  But I never completely close all programs.  I could open up doc1, doc2, doc3, doc1 close, open doc4, narrow doc2, etc..  All programs stay in memory.  After a few weeks, said Jan 28, if I select file-> open, the dialog box is not pop up.  I can open via the documents Explorer, but no file-> open.  Also, I can't make a file-> save as.  I can do-> file save (saves the document), but nothing that causes the dialog box.  It is reproducible in word, excel, firefox, or any other program, I leave the door open for several weeks.

    Here's the weird second problem.  Say I got word, excel, and firefox open for weeks.  If I exit excel completely, and then restart, the dialog box continues to work in excel.  But it remains broken in word and firefox.

    Everyone race in this issue?  Somehow I can fix this without having to restart the program?  The main reason, it's a problem for me is because I do not often know that this problem occurred.  Hopefully, I'll open a spreadsheet from a web page and start editing.  I try to do a save as, only to find the pop dialog box - up will not appear and I can't save the work I do.  Or I have a word document open for weeks.  I usually just hit the Save button, but this time I want to save it under a different name.  I can't do it while this problem is here and I have to close microsoft word completely to get the box to start working again.

    Thanks for your help!

    Hello

    The key is that every so often, you have to restart things, windows programs, the computer itself, in order clearly to all the memory, unload all managers, the .dll files - indeed clear the cobwebs from the computer. If you do not, you can continue to run into the problem you describe.

    For my part, even if I do not turn off my computer, I restart from time to time to get a fresh start, for me, that means being able to have all the features with drag-and-drop processes; for you, this is the Save as dialogue box.

    Nothing else to do.

    Kind regards

    BearPup

  • Can someone help me create a script to repeat to simply open the dialog box to create a link?

    Can someone help me create a script to repeat to simply open the dialog box to create a link?

    the "Connect" command uses the same dialog box as the command to "Place", except for the option "Replace" verified... so, use Ctrl + Shift + P to bring up the place dialog box, select your new image and select the checkbox "replace".

    If check 'Replace' with the mouse slow you down, after you have selected your image, the tab key 'press' 3 times to change the focus, and then press the SPACEBAR to check it out, then ok to place.

  • Photoshop opens the dialog box when you try to fill a layer with locked transparent pixels

    This script should set the layer to lock transparent pixels and then fill the layer with a color. She is doing this, except when it is in the filling phase, it opens the dialog box fill, and you have to hit OK.

    If you omit the transparent pixel line, it works as not expected, no dialog boxes.

    Is there a way to remove the box? Or I'm doing something wrong, which is causing the box to open?

    #target photoshop
    app.bringToFront();
    
    doc = app.activeDocument;
    doc.artLayers[0].isBackgroundLayer = false;
    doc.artLayers[0].transparentPixelsLocked = true;
    app.activeDocument.selection.fill(app.foregroundColor); 
    

    Not sure why this is happening.

    But I would recommend blocking the above and using the AM code for a fill that pays tribute to transparency.

    #target photoshop

    app.bringToFront ();

    doc = app.activeDocument;

    doc.artLayers [0] .isBackgroundLayer = false;

    doc.activeLayer = doc.artLayers [0];

    // =======================================================

    idFl var = charIDToTypeID ("Fl");

    var desc18 = new ActionDescriptor();

    var idUsng = charIDToTypeID ("Usng");

    var idFlCn = charIDToTypeID ("FlCn");

    var idFrgC = charIDToTypeID ("FrgC");

    desc18.putEnumerated (idUsng, idFlCn, idFrgC);

    var idOpct = charIDToTypeID ("PCT");

    var idPrc = charIDToTypeID ("#Prc");

    desc18.putUnitDouble (idOpct, idPrc, 100.000000);

    TSM var = charIDToTypeID ("Md");

    var idBlnM = charIDToTypeID ("BlnM");

    var idNrml = charIDToTypeID ("Nrml");

    desc18.putEnumerated (TSM, idBlnM, idNrml);

    var idPrsT = charIDToTypeID ("PrsT");

    desc18.putBoolean (idPrsT, true);

    executeAction (idFl, desc18, DialogModes.NO);

  • How to use the view 'cover flow' in an open file dialog box?

    I often post pictures, such as screenshots, Web - like the one I included here!

    I always use "cover flow" as an aid to make sure that I'm the one that I want to load the download.

    In El Capitan, I see "cover flow" in the Finder, but not in a file open dialog box. How do I access view 'cover flow' in the open file dialog boxes? I have to use a preference somewhere to add it to the toolbar, or what?

    In the Finder, go to view, and then customize the toolbar and made drag the point of view of the toolbar window you Finder.

  • I'm opening a JPEG in Adobe Photoshop, but 'Open with' dialog box does not Photoshop

    I'm opening a JPEG in Adobe Photoshop, but the 'Open with' dialog box does not Photoshop in the list of available programs. I have attempte

    Original title: file association

    When Adobe Photoshop is installed it is automatically added to the open with command and usually it is the editor who is added, okay, so in your case, it is not added.

    Right click of your peak, point to open with, click on choose program.

    Put a check mark in the box, always use... If you wish.

    Click on browse, it opens the program files, double-click Adobe, double-click on Photoshop Elements.

    PhotoShopElementsEditor.exe-click, and then click Open

  • In XP, when you try to open any file, get the "Open with" dialog box

    After a virus infection that I cleaned up, I now have the 'open with' dialog box popping up whenever I want to open a file.  I tried a restore of the system, but to no avail.  What do you suggest to me.  Thank you

    Hello

    Try the methods listed in the section below and check if that helps.
    How to change or choose the program that starts when you double-click a file in Windows XP
    http://support.Microsoft.com/kb/307859

    I hope this helps.

  • The open file dialog box does not show up on Windows 7

    My first installation of Win 7 32 bit on my systemeverything was end of work, but after some time all of a sudden all the program that I opened in Windows 7 which has an and save as dialog box or try to download an attachment in mail. the open file dialog box will appear, so I can't be able to open, save, and download any file, it seems that the open a file dialog box is disabled somehow, but I can't be able to find the exact cause of this problem so I need help very badly as soon as possible. So please help and answer...

    Hello Bharat Bhushan Wadhwa,

    Below, I've added a link where other users have had this problem.  There are a few steps to try troubleshooting.  Please let us know status.

    Microsoft Answers:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_programs/the-open-file-or-browse-for-file-dialog-box-doesn ' t/50f452f7-f73b-4ad5-8887-b8bb361f07b9

    Thank you

  • How can I add a program to the "open with" dialog box?

    I tried to "change program" and then passed to the program but it does not appear in the box or associate with the file extension?

    Hello

    These should help:

    How to add a program to 'Open with' in Vista and Windows 7
    http://www.Vistax64.com/tutorials/126340-open-add-program.html

    How to add any Application in the Windows desktop right-click Menu
    http://www.howtogeek.com/HOWTO/Windows-Vista/add-any-application-to-the-desktop-right-click-menu-in-Vista/

    Record the programs with the open with dialog box
    http://WindowsXP.MVPs.org/openwithadd.htm

    I hope this helps.

  • MenuItem to FileExplorer could not open the dialog box or PopupScreen.

    Hello

    I would like to know why I can't open a dialog box or a menuitem PopupScreen in file Explorer.

    The use of the debugger I see that there is no ancestral error and execution to get there in the Dialog.alert("").

    is there a solution?

    See this article.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

  • Adobe PDF opens the dialog box "Save as" when you simply save an existing file

    Any time I hit "Ctrl + S", or go to "File - save" when you are working on an existing file, it opens the dialog window "save under. And that is not enough, the window "save under" is this new version which adds an extra step (because he wants to know if I also want to save the file in the cloud) and makes me also navigate the current folder and when I hit save it also opens another dialog asking me if I really want to replace the current file... How heavy one set of steps just to save a file that you opened to make a little change - we do not save money, just save.

    Please, can someone fix this? I think he was born in the current version, the last, so it could probably be a bug (the 'Save' option is set by mistake the method "save under") or a poor handlebars by developers.

    Adobe staff has tried to help me, asking me to "Run as Administrator". This does not solve the problem, and my post has since been ignored...

    Any help would be apprciated. Thank you

    Problem addressed and solved on this post:

    Re: Why Adobe PDF opens the dialog box "Save as" when you simply save a file

  • Script to open the dialog box "Insert reference."

    Hello

    I'm trying to get something that I (thought) is quite simple. When I right click I want to add a menu option to the context Menu to open the "Insert cross-reference...." "Dialog box. But I can't seem to progress actually open this dialog box.

    Here's what I have:

    (1) I understand how to add context, based on http://www.hubbers.info/content/customize-indesign-and-incopy-contextmenus menu item

    (2) I understand in general how to launch the menu items, based on http://www.indiscripts.com/post/2010/02/how-to-create-your-own-indesign-menus

    However, I can't seem to understand whence these keys, and what is the key to the reference/menu dialog box. They reference the findKeyStrings() function, but it does not seem to return anything to "Insert cross reference", a name in my language menu item:

    app.findKeyStrings ("hyperlinks and cross-references")

    Result:

    app.findKeyStrings ("Insert cross-reference...")

    Result:

    I tried to change another script I found who poured everything menu ID, to empty the key values. While the "Insert cross-reference...." "and"Links and references"both appear with a box and identification, the KeyString is empty! I'm doing something wrong?

    Thank you

    -Colin

    Here is my script list the IDS:

    var myActions = app.menuActions;
    var myActionsList = Array();
    var counter = Number(0);
    
    var menuMask = null;
    
    var keyString;
    for(var i = 0; i <myActions.length; i++){
    
        var nameStr = String(myActions[i].name);
    
        try {
            keyString = String(app.findKeyStrings(nameStr))
        }
        catch(all) {
            continue;
        }
    
    
        myActionsList.push(nameStr);
        myActionsList.push(String(myActions[i].area));
        myActionsList.push(String(myActions[i].id));    
        myActionsList.push(keyString);
    }
    
    var myDoc = app.activeDocument;
    var myTextFrame = myDoc.pages[0].textFrames.add();
    myTextFrame.geometricBounds = app.activeDocument.pages[0].bounds;
    
    var myMenuActionsTbl = myTextFrame.insertionPoints[0].tables.add();
    myMenuActionsTbl.columnCount = 4;
    myMenuActionsTbl.bodyRowCount = myActions.length;
    myMenuActionsTbl.contents = myActionsList;
    
    

    Ah... Yes it makes sense, so he is right behind them ;-) But you right - it seems that findKeyStrings should ideally ignore these, you want to send the English version, not the "English with all these additional signs.

    In fact, I don't remember. I was almost about to write a bug report. But I think it's just that the script documents are deficient:

    * EDIT *: so if you are on Windows, you can determine the string to go straight. Press alt and use the keyboard to navigate in the menu, this will allow you to see where the ampersand should be added. For example here is my part of the menu:

    There is a much easier way! The signs appear in the title property:

    app.findKeyStrings(app.menuActions.itemByName("Insert Cross-Reference...").title)
    Result: $ID/New XRef...
    
  • How to save the .txt file without opening a dialog box.

    Hello..

    How to save the .txt file without opening a dialog box.

    It is impossible to Flash running in the browser.

  • Open file dialog box does not appear after a certain time in the latest version of Illustrator CC 2014

    Hi all

    Everyone knows a problem doing a file > open after using Illustrator for awhile? I select file > open and nothing happens after I used Illustrator for awhile. Doesn't seem to have any model, the open a file dialog box does not appear only so I close and reopen Illustrator.

    Thank you

    Ben

    benkop,

    There seems to be a bug in CC2014, that appears when you open Illustrator / place dialogue together for display column and sort by date. You can adapt it to display by name or a list of point of view.

Maybe you are looking for

  • HP laserjet 1020 doesn't print

    Windows 7 PRO 64-bit operating system The HP laserjet 1020 printer works on the above software? Tried to uninstall the printer drivers but failed. Message-installation met with an abnormal program execution. the installation program stops. It was usi

  • Satellite A135-S4827 must not exceed 2 GB ram?

    I tried to replace one of the sticks of 1 GB with a 2 GB key; same brand and my computer does not start after. I took out the other 1 GB ram left the 2 GB of ram and my computer bed for 2 GB of ram. I took the 2 GB of ram and inserted the 1 GB of ram

  • XP SP3 64-bit download where?

    Where can I down load this all my research back to 32 bits and won't let me install. Thanks for your help

  • my hp c1580 does not print in any color but yellow

    I have changed all my ink and used cleaning cartridges but of no use as my printer just will print in any color but yellow. This turns into a nightmare and I really love this printer and do not want to get rid of as is not a wizz on the computer is t

  • Key combinations for the wireless on the Dell Latitude XT2 Tablet

    My Dell latitude XT2 Tablet for my wireless is off according to diagnosis. I don't have access to the internet through my ethernet connect. The question is what combination of function keys will be switchh wireless back on or what switchh on the side