File dialog box: how get full path and filename (firefox 3.0 problem)

Hi,
I have a smilar problem then discussed in this thread: file dialog box: how get  full path and filename
Now this solution doesn't seem to work in firefox 3.0,I only get the filename but not the full path.
I have tried to solve this problem by adding *"netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");"* in a javacript function but that doesn't do the trick
Although when i tested it local it does work.
Any idees how to solve this?
Best Regards
Stijn

Actually, that is strange and scarry. With 20% of the browser market share they decide to behave like Microsoft did in the past - they want to decide what users need and what they do not need. With 3.0 I have a real problem with some of my applications. They are all tested in IE6, IE7, FF2.0 and they all work the same way (they even work with Opera and Safari). Now, I will for sure not go there and make it work for 3.0, just because 2 out of 200 users use FF3.0. Up to now I have always recomended FF as the best browser. 3.0 causes my opinion to change completely. Competition is always good but it is a question if it is good if we have 20 different browsers out there with equal market shares.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • File dialog box: how get  full path and filename

    Hello All
    i have a problem to save the full path and filename with file dialog box.
    I want to save full path and filename in the database for creating a link to a file.
    I use a file-dialogbox to choose a file.
    I see in the textfiled something like this
    \FULLPATH\filename.ppt
    but when i save the textvalue in the database or look at the seesionvalue I see
    this:
    F2087258868/filename.ppt
    but I need the full path to create a link. How I can get?
    I use version 2.2.1..
    Thanks
    Putcho

    Hi Putcho,
    You can create some javascript that puts it into a hidden item.
    In HTML Form Element Attributes: onChange="$x('P15_X').value=$x('P15_FILE').value;" Then create another process that stores the value of the hidden item in your own table...
    I quickly made an example with a normal text item, so you see it copies itself to the other box: http://apex.shellprompt.net/pls/apex/f?p=286:15
    Hope that helps,
    Dimitri
    http://dgielis.blogspot.com

  • How do I get the full path and filename of the current document?

    I'm writing a format plug-in. How do I obtain the full path and filename of the current image (document) from within my plug-in? Any help would be greatly appreciated!

    I actually just figured this out. For anyone else who would like to know, check out the propetizer sample code in the photoshop sdk. It makes a "filter" plug-in that just spits out all the properties of the document you could ever want to know about. The function I used to get the full path and filename of the current document is PIGetDocumentName(). I hope this helps someone eventually...

  • Safari Upload file dialog box lets me click links and buttons on parent window.

    Safari Upload file dialog box lets me click links and buttons on parent window. I can even click Choose file button and open multiple Upload File dialog boxes. How can I show Upload file dialog box as modal?
    Operating system: Windows 7 and Windows XP.

    Safari Upload file dialog box lets me click links and buttons on parent window. I can even click Choose file button and open multiple Upload File dialog boxes. How can I show Upload file dialog box as modal?
    Operating system: Windows 7 and Windows XP.

  • Full path and filename in wwv_flow_files after upload from UNC path in IE

    I have a page with a file browse item. After page submit I move the file from wwv_flow_files to another table.
    Normally the column wwv_flow_files.filename only contains the filename. However, when using IE9 and selecting a file from an UNC path the column contains the full path+filename.
    Does anybody have an idea what happens here?
    How can I make sure I only get the filename?
    Using Apex 4.02.007
    Edited by: Rene W. on Feb 28, 2013 6:39 AM

    Rene W. wrote:
    I have a page with a file browse item. After page submit I move the file from wwv_flow_files to another table.
    Normally the column wwv_flow_files.filename only contains the filename. However, when using IE9 and selecting a file from an UNC path the column contains the full path+filename.
    Does anybody have an idea what happens here?
    How can I make sure I only get the filename?For security/privacy reasons recent versions of browsers by default do not send local file path information from File Browse items to the server, nor expose the file path in the control's JavaScript methods. Firefox, Safari and Chrome only provide the filename. IE6 & IE7 still yield the path in Windows format. IE8+ and Opera have adopted an irritating approach of replacing the path with a wholly imaginary "C:\fakepath\"—and this monstrosity has sadly had to be enshrined in the HTML spec. A reasonably compatible way to strip the path in JS is provided there, or you should be able to do it fairly easily in PL/SQL when moving the file.
    The fact you are getting the full path suggests that the IE security config setting "Include local directory path when uploading files" (or IE9 equivalent) is used in your browser/environment to enable the path to be exposed in IE. This may be necessary to support dismal legacy applications. Consult whoever is responsible for browser security configuration at your site to see why/if this setting is necessary.

  • How can I determine the full path and filename of the currently opened .ai file?

    In Photoshop, right clicking the file name of the opened file in progress shows an option "Reveal in Explorer" so I know exacly where the file was opened from.
    In Lightroom, it is displayed in the metadata.
    New to illustrator, I have looked at loads of menu options get cannot see how to find this information.
    Would be grateful for some help.

    +1 for what Larry said if you are on OS X. You can then scroll through and select any of the listed items and when clicked upon it will take you to that folder/location.
    Not that it would offer ease of use or a better method, but you could also use a simple script to retrieve this info as another alternative method:
    Example Structure:
    alert("File Path/Location:\n" + File.decode(app.activeDocument.fullName));
    Results the Below Alert:
    alert("File Path/Location:\n" + File.decode(app.activeDocument.fullName).split('/').join('\n/ '));
    Results the Below Alert:
    But again, not that this approach would offer ease of use or a better method, just another alternative method (It works in my quick tests).

  • How to split path and filename (file is on application server)

    Searching this forum I found a couple of FM's that apparently only worked for PC files.  Is there a parser function for files w/ the Unix naming convention?

    You could parse it yourself...
    DATA: filepath TYPE char255 VALUE '/usr/<sys_id>/sap/tmp/filename.txt'.
    DATA: path TYPE char255.
    DATA: file TYPE char255.
    DEFINE macro_reverse_string.
      call function 'STRING_REVERSE'
        exporting
          string  = &1
          lang    = sy-langu
        importing
          rstring = &1.
    END-OF-DEFINITION.
    macro_reverse_string filepath.
    SPLIT filepath AT '/' INTO file path.
    macro_reverse_string filepath.
    macro_reverse_string file.
    shift path right by 1 places. path(1) = '/'.
    macro_reverse_string path.
    WRITE:/ filepath.
    WRITE:/ path.
    WRITE:/ file.
    Regards,
    Rich Heilman

  • How to open a save file dialog box in form

    hi
    all
    I have prob in form desing , i have open the save file dialog box , how to open a save dialog box
    and path of the select file to save in disk
    help
    thx

    hi
    user this query when-button-pressed trigger
    :txtfile := GET_FILE_NAME(directory_name =>'d:\ali_raza\backup\', file_filter=> 'DMP Files (*.dmp)|*.dmp|');
    Rizwan

  • Save as dialog box expanded to full screen, edge arrows flicker and will not pull the edges in.

    This problem presented itself out of the blue. The Save As dialog box expanded to full screen, and although the arrows that appear when the mouse cursor is over the edge of a window are present, they flicker and do not grab the edge to pull it in. Every other window on the computer does not have an issue like this. Restarting Firefox or the computer does not eliminate the problem. I am hoping that there is a settings file somewhere that the numeric value for the dialog box size can be changed, since I do not want to completely reinstall the browser.
    As a side note, if the browser has been running many downloads for a while, it will usually start failing to display information, and eventually will get to a point where the Save As box flickers for an instant and disappears and the entire browser becomes unresponsive for an hour or more. Downloads continue (including the one that it froze up on, albeit as a randomly named file in User...Temp), but it is not possible to restart the browser until the downloads complete (which in some cases can be several hours). Usually I revert to using IE11 until I can restart Firefox.
    Perhaps one of my strongest dislikes of Firefox though is the issue with its resistance to copy and paste operations in the Save As dialog box. Most websites offer files with cryptic and even identical names for different files, so renaming files is a critical operation if one is to keep track of and later identify the files one has. A problem unique to Firefox, attempts to highlight and paste in a better file name usually are met with a refusal to paste, a stuck context menu that can take a minute of clicking to clear, repeated jumping to the end of the file name, and other similar issues. I have encountered this problem repeatedly on different computers and different operating systems, it is a problem I have only ever encountered in Firefox.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

  • 'Open a File' dialog box doesn't show 'Favorites'

    InDesign CS6, Windows 7:
    File/Open gives me this:
    Notice there are no 'Favorites' on the left.  I have to 'browse' for my file each time.  I have a ton of files on the network, and it takes several clicks to get to them.  Annoying when I'm opening several files a day.  The 'Recent Places' isn't too helpful here either.
    Now look at what happens in InDesign CC, Windows 7 with a File/Open:
    Look at all the 'Favorites' and easy browsing on the left side.  Why are the 'Open a File' dialog boxes so different in CS6 and CC?  I want the CS6 'Open' dialog to be just like the CC one.  (I prefer to use CS6, CC is buggy on my system.)

    Not helpful.
    What it is... is cumbersome and un-necessary.  Every other program in Windows  (even Word Pad) opens with the 'standard'  dialog with Favorites on the left.  Why did Adobe program it differently?  There has to be a fix in Preferences or something...

  • 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 do I get back to the newest file dialog box style in LabVIEW?

    I have LabVIEW 7.1 and LabVIEW 6.0.2 installed on the same machine.  When I doubleclick a .vi file it tries to open in LV602.  Of course, if it is a LV71 VI I get an error and it doesn't open.  Then I run LV71 and load the desired VI--in this case by using the Open arrow to find it in the "recently opened" list.  Now, I've made this mistake before, especially when I don't remember whether I used LV602 or LV71 to create the VI, and nothing bad has happened.
    But this time something undesirable did happen:  all Open File dialog boxes are of the old funky style.  How do I get the file dialog boxes back that I've grown used to seeing when I use LV71?
    CLUES:
    1.  I get the old style dialog box even when I try to open a VI--not just when a running VI invokes it.
    2.  The built version of the VI brings up the correct, new style, file dialog box--unlike the development environment.
    I haven't found any settings in the options area that would appear to affect the file dialog box style.  Has anyone ever seen anything like this?

    RudyRed wrote:
    Thanks for the response,
    Warren.  I think all my problems with LV versions coexisting
    peacefully have been related to NIDAQ--and I think the workaround (for
    supporting the different levels of LV DAQ VIs--see my response to
    Benoit, above) shows that it is not NECESSARY for NI to orphan old LV
    versions' DAQ functionality on the development computer, though it is
    still painful to be able to have only one version of NIDAQ available on
    a given target computer.  It's probably a marketting decision
    meant to encourage users to stay on the straight-and-narrow upgrade
    path.
    NI-DAQ has usually been working fine in
    several different installed LabVIEW versions on my computer. What is
    important is the order of installation. Start first with the lowest
    LabVIEW version and install the latest NI-DAQ that supports that
    LabVIEW version. Then go to the next LabVIEW version and install again
    the latest NI-DAQ version that supported this LabVIEW version and so
    on. I'm regularly working with 6.1 up to 7.1 and starting with 8.0
    slowly and haven't had real show stoppers yet.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to incorporate File name and timestamp automatically into select and save file dialog box?

    Hello,
    i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help?
    Thanks
    Solved!
    Go to Solution.

    You can pass a default file name to the 'File Dialog' Express VI.
    Use the 'selected path' output to open the file.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness
    Attachments:
    FileDialog.vi ‏21 KB

  • How to create a custom file dialog box/vi (win)??

    Hello,
    I'd like to create a custom file dialog box to handle the reading of my tdms files. Basicly I want to extend the existing file select dialog box with a graphical preview of the data in the selected file. I know I can create all the logic for file selection by hand and use a list box to display the filelist, but I would rather prefer to somehow use the existing windows controls. So is it possible to get the windows file selector on the front panel of a vi and react to the user selection? If so, is there any example available on how to do this? Any other options? I'm using labview 8.2
    thanks for your input!
    klaus

    Klaus,
    I wouldn't know that Microsoft provides access to the controls that Explorer and file dialog consist of.
    There might be a different and more powerful solution though. The
    WINDOWS Explorer / file dialog have a plugin API that allows you to
    associate your own application for thumbnail creation with a particular
    file extension. That way, TDMS thumbnails will show in any instance of
    Explorer and
    File Dialog without you having to make your own dialog. Basically, you
    would need to compile the VI that creates the thumbnail into a
    LabVIEW-built DLL and then wrap this DLL with some C++ boilerplate code
    that Microsoft provides. You might want to have a look at the bottom of
    this article to get an idea of how the whole thing works:
    http://msdn.microsoft.com/msdnmag/issues/0600/w2kui2/default.aspx.
    Hope that helps,
    Herbert

  • How do I turn off graphic effect of Open File dialog box?

    There is a graphic effect in OSX 10.4.11 of a slot appearing in the top of the window of programs like Safari 4.1.3  and then an 'Open file..' dialog box emerges from the slot and warps downwards. This is almost guaranteed to crash my Mac!
    Please, how can I turn off this effect?
    Thanks!
    [You don't need to read any further but my problem relates to an archived thread:
    https://discussions.apple.com/thread/1313995?start=0&tstart=0
    In brief, the thread is about some of the old white Imacs over-heating and causing graphics problems.
    I still have a largely useable Imac because I avoid using any graphic effects that cause system crashes: Dock graphic effects, Genie minimise feature, Exposé, and full-screen video feature in Youtube.}

    I wonder if Quartz isn't the problem & using the Safe Boot driver...
    See this great post by themachead on how to list the extensions in Safe Mode with System Profiler then compare to the extension folder!
    http://discussions.apple.com/thread.jspa?messageID=10161377&#10161377
    or disable it?
    http://hints.macworld.com/article.php?story=20040724190553112
    Check if your Mac is using it...
    http://www.entropy.ch/software/macosx/#quartzextremecheck

Maybe you are looking for