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.

Similar Messages

  • How to get the window.opener object into a model window

    Hi,
    I m opening a new popup window with the help of window.showModalDialog(url,self,''). Now i want to access the opner window inside this popup window. Since this showModalDialog does not support window.opener so i passed 'self' as parameter and if i want to access the parent window i can access it with the help of window.dialogArguments . But the problem is window.dialogArguments is not an object .
    for e.g.
    var caller = window.opener
    then caller can be used as object but if i do like this
    var caller = window.dialogArguments
    then i can't use caller as an object.
    Can anybody tell me the correct way.
    manish

    Hi Manish,
    I'm trying to use as well showModalDialog in IE and in the same time have a similar experience in other browsers (like Firefox) - similar to the Hotmail Empty Junk mail button, so here is a piece of code you might be interested in:
      Caller page
      // showModalDialog for Non-IE browsers
      if (!window.showModalDialog) {
        window.showModalDialog = function(sUrl, vArguments, sFeatures) {
          var wFeatures   = sFeatures.replace(/dialog/gi,"").replace(/:/gi,"=").replace(/;/gi,",");  // plus a little more replacement
          var modalWindow = window.open (sUrl, "_blank", wFeatures);
          modalWindow.setFocusToWindow = function () {
            modalWindow.focus();
          modalWindow.setInterval ("setFocusToWindow()", 100);
      // Show modal dialog...
      window.showModalDialog ("modal_dialog.html", self, "dialogHeight: 300px; dialogWidth: 400px; center: yes; help: no; status: no")
      modal_dialog.html
      // IE only - other browsers will be fine
      if (window.dialogArguments) {
        window.opener = window.dialogArguments;
      // Write something back in the opener window
      window.opener.document.write ("here you go...");

  • How to close the window openned by System Exec VI automatica​lly?

    Hello,
    I am using System Exec VI to lauch an exe file built from a LabVIEW program. When running System Exec VI, the window of exe file pop out and stays there even after all tasks are completed. I have to close it every time manually. Anyone here know how to close the exe file window automatically when it's done?
    Thanks,
    Jean
    Message Edited by Jean_CLD on 03-25-2010 11:25 AM
    Message Edited by Jean_CLD on 03-25-2010 11:29 AM
    Solved!
    Go to Solution.

    If I understand the question correctly you need to add an invoke node at the end of your application to exit. Depending on the whether it is running as a stand alone application or within LabVIEW it will either exit or stop execution. I've attached the VI I use in my applications.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot
    Attachments:
    Exit application.vi ‏13 KB

  • Windows native file dialog default sort is by date instead of name

    I somehow managed to get the Windows common file dialog default sort to be by date instead of name, so I have to resort by name every time I select a VI to load. I haven't been able to identify the registry entry that tell how the MRU list is sorted. How do I make the default sort by name instead of date, short of removing and reinstalling LabVIEW?

    I think its a Windows issue and nothing to do with LabVIEW since LabVIEW just calls the MS common dialog. Do you see the same behaviour when using Windows Explorer? I know that with Win2K, I can set the default folder view to always sort by date. To go back to the default, select My Computer>Tools>Folder Options>View>Reset All Folders. I don't have easy access to any computers with a different OS right now so I can't describe what the process is for them.

  • How can I open the windows file directory in "WHEN-BUTTON-PRESSED" trigger

    Dear All,
    How can I open the windows file directory in “WHEN-BUTTON-PRESSED” trigger?

    Blessan Joseph,
    The solution is dependent on your Forms version and if your applications is traditional Client/Server (CS) (Forms 6i and lower) or web deployed (Forms 6i and higher). For CS, you would use the Get_File_Name() built-in as Faa demonstrated. For Web, you will need to use the WebUtil library function Client_Get_File_Name() as Sarah (OGIR) demonstrated. Both of these functions will return the full path to a file. Note: WebUtil is an external library so it requires you to perform some configuration on your developer client as well as on the Application Server. WebUtil is included with Forms 9i and higher, but you must download it for Forms 6i.
    My requirement is user should able to select windows directory for the output.Do you really need to allow the user to write to a file in the Windows directory? This is very dangerous and you should not allow users or programs to write to the Windows directory. Users should only be able to write files to "User" directories (\My Documents\<Directory name>).
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to Open the FailedFilesLog.txt File (statement), and How to Increase the 100 File Limit (question)

    It took us a while to figure this out, so I'm posting this in case it's helpful for someone out there. Plus, I have a question...
    DPM gave the following error for one of our file servers:
    Description: The replica of Volume D:\ on <servername> is inconsistent with the protected data source. Number of files skipped for synchronization due to errors has exceeded the maximum allowed limit of 100 files on this data
    source (ID 32538 Details: Internal error code: 0x809909FE)
    Recommended action: Review the failure errors for individual files from the log file
    \\?\Volume{8492c150-f195-11de-a186-001cc4ef89a0}\B1E9D373-2C03-464E-A472-99BC93DB1E2A\FailedFilesLog.txt and take appropriate action. If some files fail consistently, you can exclude the folders containing these files by modifying the protection group or
    moving the files to another location.
    So, how do you actually open the FailedFilesLog.txt file shown in this DPM alert? What is this path referring to? Well, this is the mount point for the protected server's replica volume on the DPM server, which is mounted under \Program
    Files\Microsoft DPM\DPM\Volumes\Replica\servername\File System. Here you'll see the mount points for all of the server's protected volumes. However, if you try to open one of these mounted volumes
    in Windows Explorer, you'll get Access Denied, even if you have administrator rights. (If someone knows of a way around this, please let me know). As a workaround, you can access this mounted volume in an elevated
    command prompt. Steps:
    Open an Administrator Command Prompt
    Type mountvol <AnyAvailableDriveLetter>: \\?\Volume{VolumeGUID}
    Example:  mountvol m: \\?\Volume{8492c150-f195-11de-a186-001cc4ef89a0}   Note that we're only using the first part of the path to the FailedFilesLog.txt
    file given in the DPM alert, starting from \\? and ending after the
    } character.
    Next, type m: to change to the newly mounted m: drive.
    Then type cd B1E9D373-2C03-464E-A472-99BC93DB1E2A   This is actually a folder name so we're just going into this folder.
    Finally type dir and you should see the FailedFilesLog.txt file. This file can be copied to another location where it's easier to use (i.e. in Windows Explorer).
    Be sure to unmount this volume when you're done by typing mountvol m: /d in the command prompt. (Mountvol reference:
    http://technet.microsoft.com/en-us/library/cc772586(WS.10).aspx.)
    What a pain, eh? But at least by reviewing the FailedFilesLog.txt file you can determine which files or folders caused the sync to fail and thus take action accordingly.
    Now, here's my question: Where is that registry key that lets me adjust the limit of 100 files that DPM allows to be skipped before it fails the replica? Hopefully someone out there will tell me. I know this can be done because Kapil Malhotra
    said so in this post:
    http://groups.google.com/group/microsoft.public.dataprotectionmanager/browse_thread/thread/a179fa30fb50c9b0/e9a348f2a9386063?lnk=raot.
    Also, does anyone know what the internal error code 0x809909FE means in this alert? Knowing this my help us determine what caused these files to fail. Interestingly, in the FailedFilesLog.txt file, it gave a different error code next to each failed file:
    0x80070002.
    -Taylorbox

    Thanks for responding, Fahd. So, just to be sure...
    Do I add this registry key to the DPM server or to the protected servers (or both)?
    In either case, the ContinueOnFailure key does not currently exist. So, I must create this key and the MaxFailedFiles DWORD value
    manually, right?
    Does the server in which I create this regkey have to be restarted for it to take affect?
    Can the DPM alert for the 0x809909FE error event (for exceeding the limit of 100 failures) please be adjusted to provide a path to the FailedFilesLog.txt file
    that actually works if you click on it?
    Any ideas on why the 0x80070002 "File not found" error happened? The files on the server were simply created and then deleted. Why would such file activity lead to this error?
    Thanks,
    -Taylorbox

  • How to get the number of files currently open?

    hi,
    does any one know how to get the number of files currently open in windows OS?
    e.g. lets say .txt files...
    any comment will be really appreciated.
    thanks

    Assuming that you don't want to actually do this from within Java code (which would obviously require native code), here's a utility that will give you a list of which file handles are opened by which processes (on Windows):
    http://www.sysinternals.com/ntw2k/freeware/handle.shtml
    - K

  • How to make a remote panel file dialog open remote directory from any computer

    Hello to everybody. I am using Labview 6.1 and I would like to know how to make a remote panel file dialog open remote directory from any computer (Not only from a specific computer. If I open the file with a specific computer, I have to conect the path of the remote machine, but if I don´t know which remote computer is going to run the aplication, how can I do it?)?

    Hi!
    first you have to know progammatically the name of the remote pc connected to your server: this is a problem!
    I did not find a straigth way, LV 6.1 doesn't allow much progammatic control on the remote panel connection feature, but I'm confident that in the next LV version this will be improved!
    The point is that the Remote Panel Connection Manager (from the Tools menu) has all the informations about the connection: client name, server vi and whatever.
    This application is embedded in the \PROJECT\REMOTEPANEL.LLB and consists of a set of password protected vis.
    So here's the trick: use VIServer to grab data from the rpcm Get Server Data.vi when the Remote Panel Connection Manager is in run mode. By this you get all the informations (not only client name)o
    f the remote panel connection. See my example.
    By the way use client machine name to build the file dialog function input path.
    If anybody has an alternative method it would be more than appreciated to share it.
    Good luck,
    Alberto Locatelli
    Attachments:
    get_remote_machine_data.vi ‏151 KB

  • I'm using tweetdeck to open links but after i update to 14.0.1 version, the window open or pop out every single time when I open the links, how can i do?

    I'm using tweetdeck to open links , I can click on tons of link I want to open without the firefox window pop up but after i update to 14.0.1 version, the window open or pop out every single time when I open the link, how can I just open the link but not the window?

    yesssssss , EXACTLY !!!! before the update ,whenever I open an external link, Tweetdeck used to stay in front, and now Firefox moves in front of Tweetdeck<<<< EXACTLY !!!

  • How to open the server log file that displays messages of System.out.print

    Hi,
    I am working on a j2ee project. How can we access the default log file? I have put many System.out.println(..) method in different classes in order to get the program flow and to track the origin of the error.
    I opened the a log file named "defaultTrace.0.trc" in usr\sap\J2E\JC00\j2ee\cluster\server0\log installation directory. Although it shows the ecxeptions, It is not showing the messages that i have written to console with the help of System.out.println(..) method.
    Can anybody tell me the location of the log file where i can find my messages sent through System.out.println(..) function?
    Regards,
    Sudheesh...

    System.out.println goes to console, which is not a file... This whole thing is much easier if you use standard logging:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm

  • I have downloaded trial for Windows English version, but can't open the Captivate_8_LS21.7z file. I have 32-bit. Will this work or shoudl I redownload?

    I have downloaded trial for Windows English version 1.45GB.
    It has downloaded but I can't open the Captivate_8_LS21.7z file.
    I have 32-bit. Will this work ?

    Hi There,
    In order to download / install Captivate 8 32 bit, you have to download 2 files ( .7z and .exe ) at same location/ folder.
    Once both files downloaded completely then you have to run .exe file and it will extract .7z file first and then it will initialize the installer. You do not have to open .7z file.
    Let me provide you the download links of Captivate 8 32 bit :-
    Open the link mention below in any Web Browser say Internet Explorer
    https://www.adobe.com/cfusion/tdrc/index.cfm?product=captivate
    Sign in with your Adobe id and Password, then you will be redirected to download Web Page of Captivate 8. 
    Do not click on Download. Kindly let that window open as it is.
    Now Copy and paste the link mention below in the new tab/window of the same Web Browser in which you have opened the above link.
    http://trials3.adobe.com/AdobeProducts/CPTV/8/win32/Captivate_8_LS21.7z
    Then Save the file.
    Do the same for the link mention below and save this .exe file as well.
    http://trials3.adobe.com/AdobeProducts/CPTV/8/win32/Captivate_8_LS21.exe
    Make sure both the files (.7z and .exe) save/download at the same location/folder.
    NOTE: Wait for both the files to finish download and then run the .exe file.
    Once you run the .exe, it will start extracting the .7z file and will provide Captivate 8 folder on your desktop which will contain setup.exe. Run this setup.exe to install Captivate 8.
    Regards,
    Ajit

  • When I try to read a PDF file, the window opens and then disappears after a second or two. This began after the last Adobe update. I tried accepting the Adobe terms using Eula.exe but that disn't solve the problem. What do I do?

    I can no longer read PDF files. The window opens and then disappears after a second or two. This began after the last Adobe update. I tried accepting the Adobe terms using Eula.exe but that disn't solve the problem. What do I do?

    Can you open Adobe Reader by itself?  If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].

  • How to optimize web2 in order to open the window more quickly?

    how to optimize web2 in order to open the window more quickly ?

    salientgreen is right. But my suggestion is that you'd better first transfer these data to your computer to have a backup and then delete them to free up space.
    By the way, you can open Settings and navigate to General > Usage to get an idea of your storage consumption. Music, videos, and photos might be the biggest offender.

  • How to open the window on the screen not just on the bottom tool bar?

    I open the window and it automatically goes into minimized mode on the bottom of the tool bar. I can not get it to be on the screen. it shows that it is open but I do not have access to it on my screen. what can i do? help i need this in order to get into the internet.

    If you have this problem again in the future, you also could try this if a Reset is too disruptive (i.e., you have a lot of add-ons to reinstall): [https://support.mozilla.org/en-US/questions/941896 When I go to open firefox it shows up on my tool bar but not on my screen where is it?]

  • I backed up my ipod during a windows backup.  how do i find those ipod files(not itunes) in the windows backup files? i've tried searching and i can't find

    i backed up my ipod during a windows backup.  how do i find those ipod files(not itunes) in the windows backup files? i've tried searching and i can't find

    so i plugged in my ipod and it asked if i wanted to backup the files before restoring it. 
    Do you mean iTunes asked if you wanted to backup files before restoring? If so the it is in the location I posted. You don't need to navigate to the backup. Once your restore your iPod it will ask if you want to restore from a backup and present you with the backups made before hand.
    To restore information from a backup, use one of the following methods after connecting your iOS device to the computer with which you normally sync:
    -Click the File menu and select Devices > Restore from Back up.
    Or
    -Open the iOS device's Summary tab. There are two ways to access this:
    -Click the device button in the upper right corner. (If viewing the iTunes Store, click the Library button in the upper right corner. The device button will then be visible.)
    -From any view in iTunes, click the View menu and select Show Sidebar. Select your iOS device in iTunes under Devices.
    -Click the Restore Backup button.

Maybe you are looking for

  • What does it mean when it says "This item is being modified. Please try again later."?

    I tried to download Thor:The Dark World by redeeming the code, but this message popped up. What should I do?

  • Call library node in builded exe - path problem

    Hi! I have builded an EXE with the App. Builder. In my application I use the Call Library Node, and call functions from a DLL. I give the path of the dll with the "Current VI path", than strip the path, and add the DLL-s name. So in the CallLibNode I

  • Which backup solution to use?

    I didn't see anything here, but only looked a few screens deep, so sorry if this comes up a lot. I just found out from reading here that I was running BOTH the Windows backup AND the Lenovo R&R backup. Nowhere does the computer warn about this (somet

  • Automating "Optimize to File Size"

    I have been using PS7. An ongoing frustration has been that if I record an action using Save for Web and do the Optimize to File Size dialog, the action does not include the file size optimization. So for each image I have to have the action stop at

  • Missing at least one of my Contacts (strange)

    My own information is missing- and no one else- from my Contacts on my Macbook Pro and my iPhone but is NOT missing from my iPad Mini (both the iPhone and iPad were upgraded to iOS7). Weird. Any suggestions?