Opening file in default application

I know how to upload the file from client to DB, how to download file from DB to client using WebUtil in Forms 9i.
But I don't know how to achiewe the following funcionality:
When I click the button in form the file is downloadad automaticly from DB to client and default application (Win Word for .DOC, AcrobatReader for .DBF...) is opened with opened file inside.
Where can I find some useful example ?
Thank and regards
Sašo Celarc

Hi,
after downloaded the file to the client, you can use the client_host command to start the application and open the file.
Rainer

Similar Messages

  • Open file in default application with unsigned webstart

    Hi,
    Is it possible to open a document in the user's default registered application (on the OS) from an unsigned Java webstart application?
    I don't mind if the user gets a warning, but the only thing I found was the ability to save a file (also with a user warning), but I'd like to automatically open the document generated by the webstart application in the default application on the OS registered for the file association. In this case either a *.xlsx (Excel/OpenOffice) or *.xml file
    Any ideas?

    You can use BasicService.showDocument() to do this, however you will get a blank windows opened in the default browser.

  • Open file with default application

    Hello, I need open a file from AIR develop with a windows
    default application, i cant do. Thank

    That is a request that has had some heated discussions in the
    past. I think it absolutely needs to be a feature but as far as I
    know there is no supported way to do it.

  • Won't open files with default application

    When I try to open a file it opens preview instead of the default application and does not actually open the file! I have tried changing the default application but it does not help.  How can I fix this?

    Hello,
    Try dragging & dropping the file on the Application's icon that you want to open it with for a test.
    Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions...
    Reset Launch Services...
    http://www.thexlab.com/faqs/resetlaunchservices.html#Anchor-Reset-47857
    Reboot.

  • How can I quickly toggle through all of my open files in an application?

    How can I quickly toggle through all of my open files in an application? For instance, if I want to bounce back and forth between three documents that I have open in Microsoft Word?

    You use a combination of OS X Spaces with Exposé to be able to accomplish this.
    Or in your case,  look at using Mission Control
    http://support.apple.com/kb/HT4689

  • CS Bridge when opening file shows " Some Application Components are missing from Application Directory- Reinstall".  Uninstalled with uninstaller, reinstalled from disc.  Message continues only in Bridge not in PS.  Please help.

    CS Bridge when opening file shows " Some Application Components are missing from Application Directory- Reinstall".  Uninstalled with uninstaller, reinstalled from disc.  Message continues only in Bridge not in PS.  Please help.

    What version of Bridge and Photoshop and what platform? Mac or Windows?  I can point you to a downloadable installer.
    If the cdrom was damaged, it may be the problem.
    You would uninstall and use the CC/CS Cleaner to remove any remnants before reinstalling.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    I'll be gone for most of the day, but someone should be able to help you if you get stuck.
    Gene

  • Open Files in selected application

    As with the files in "Finder" I click on them and they open in a particular application (default) or one of my choosing. Is there a way to transfer files to the iPad and them open them with the application of my choice?

    It is just that I would like to have a system like "Finder" available so I could see all my various documents in one list.
    This is not possible.
    Because apps are sandboxed, which prevents data or files from being accessed by other apps. Helps to prevent data corruption and malware.
    From the iOS Application Programming Guide
    Security
    An important job of iOS is to ensure the security of the user’s device and the applications running on it. To this end, iOS implements several features to protect the integrity of the user’s data and to ensure that applications do not interfere with one another or the system.
    *The Application Sandbox*For security reasons, iOS restricts each application (including its preferences and data) to a unique location in the file system. This restriction is part of the security feature known as the application’s sandbox. The sandbox is a set of fine-grained controls limiting an application’s access to files, preferences, network resources, hardware, and so on. Each application has access to the contents of its own sandbox but cannot access other applications’ sandboxes."

  • SHP2013 - Open Files in Client Application

    I can't get PDFs to open in the client, where in the same library Excel and Word both open in the client.  This is true across all my libraries with these file types.
    The Permissive is ON in Central Admin,  the SharePoint OpenDocument Class is enable on the browser tools, and the list setting are set to open items in client application.
    Not sure what else to do, any advice?
    Note: We just upgraded 2010 to run in 2013 compatibility mode, files open in client while in 2010
    Thanks

    This is typically because pdfs aren't listed as a trusted file type. This article gives a deep dive into the systems around them. In particular have a look at the section titled 'Default Trusted File (Mime) Types'
    http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx

  • Changing file extension default application

    Hello, I periodically change my .avi and .mpg movies default "open with" application to VLC, but although the association change in first place, in a few days the default application mysteriously turn back to QuickTime.
    Is this a bug or an Apple QuickTime appropriative policy? Anyway, is there any way to change to VLC permanently?
    Thanks in advance
    iBook   Mac OS X (10.4.4)  

    Open one of your .avi or .mpg file's "Get Info" window. Pick a new "Open With" application and click the "Change All" button. Confirm your changes.
    From this point on (until you change it again) any time you double-click to open any of these files your chosen app will be used to play the file.
    You can temporarily override these settings by Control-clicking on a icon and choosing a different app from the pull down menu.

  • File Associations & Default Application

    Hi All,
    First time post so please be gentle.
    I have a file (extension qif) which at the moment opens with a windows program via Codeweavers Crossover. I now need to change this to open with a little Applescript application I have written myself. So off I toddle to Get Info, Open With, other, select my QIF2OFX application, click change all...and the application flips back to the previous setting. Now I have tried this on my MacBookPro which doesn't even have Codeweavers or the windows app installed (and so no default program) and it still won't allow me to change the default program for all files. I can change it for the instance of that individual file (for as long as it exists) but as for all files, no joy.
    Any ideas anybody?
    Best regards,
    Chris

    Hi,
    All resolved thank you very much. Quite chuffed with the outcome as it is my first ever Applescriot...marks out of ten anyone...places it could be improved or made more efficient? Code follows: -
    on open TheDroppedFile
    -- save ApplesScripts delimiters current state and setup variables
    set Old_Delims to AppleScript's text item delimiters
    set Save_Date to "00/00/00"
    --Extracting the account number from the source file name NOTE This is dependant on the naming convention used by your bank
    set QIF_File to TheDroppedFile as text
    set Acct_Num to text ((offset of "_" in QIF_File) + 7) thru ((offset of "_" in QIF_File) + 14) of QIF_File
    -- Set the file to write to
    set OFX_File to (open for access file (((path to documents folder) as string) & Acct_Num & ".ofx") with write permission)
    -- write header concat file name with header record
    set OFX_Header to "OFXHEADER:100
    DATA:OFXSGML
    VERSION:102
    SECURITY:NONE
    ENCODING:USASCII
    CHARSET:1252
    COMPRESSION:NONE
    OLDFILEUID:NONE
    NEWFILEUID:NONE
    <OFX>
    <SIGNONMSGSRSV1>
    <SONRS>
    <STATUS>
    <CODE>0
    <SEVERITY>INFO
    </STATUS>
    <DTSERVER>20991231000000[-5:EST]
    <LANGUAGE>ENG
    </SONRS>
    </SIGNONMSGSRSV1>
    <BANKMSGSRSV1>
    <STMTTRNRS>
    <TRNUID>1
    <STATUS>
    <CODE>0
    <SEVERITY>INFO
    </STATUS>
    <STMTRS>
    <CURDEF>GBP
    <BANKACCTFROM>
    <BANKID>999999
    <ACCTID>" & Acct_Num & "
    <ACCTTYPE>CHECKING
    </BANKACCTFROM>
    <BANKTRANLIST>
    <DTSTART>20000101000000[-5:EST]
    <DTEND>20991231000000[-5:EST]
    " as string
    write (OFX_Header) to OFX_File starting at eof
    -- Reading your file in to memory
    set QIF_Records to paragraphs of (read file QIF_File)
    -- Read through records and write out correct OFX standard
    repeat with i in QIF_Records
    -- Check for EOF NOTE: This is dependent on how your bank ends the file
    if (offset of "D" in i) = 1 and length of i = 1 then
    exit repeat
    end if
    -- Create DTPOSTED records
    if (offset of "D" in i) = 1 and length of i > 1 then
    set OFX_Data1 to "<DTPOSTED>" & (text 8 thru 11 of i) & (text 5 thru 6 of i) & (text 2 thru 3 of i) & "000000[-5:EST]"
    end if
    -- Create FTID record from DTPOSTED date and increment counter by 1 padded with zeros
    if (offset of "D" in i) = 1 then
    if Save_Date = (text 2 thru 11 of i) then
    set FT_ID to FT_ID + 1
    else
    set Save_Date to (text 2 thru 11 of i)
    set FT_ID to 1
    end if
    set FITID_Data to "<FITID>+" & (text 8 thru 11 of i) & (text 5 thru 6 of i) & (text 2 thru 3 of i) & addleading_zeros(FTID, 5)
    end if
    -- Set TRNTYPE to PAYMENT or OTHER depending upon sign
    if (offset of "T" in i) = 1 then
    if (offset of "-" in i) = 2 then
    set OFX_Data1 to "<STMTTRN>" & return & "<TRNTYPE>PAYMENT" & return & OFX_Data1
    else
    set OFX_Data1 to "<STMTTRN>" & return & "<TRNTYPE>OTHER" & return & OFX_Data1
    end if
    set OFX_Data2 to "<TRNAMT>" & (text 2 thru (length of i) of i)
    end if
    -- Check length of text transaction description text and strip out & if present
    if (offset of "P" in i) = 1 then
    if i contains "&" then
    set AppleScript's text item delimiters to {"&"}
    set Delimited_List to every text item of i
    set AppleScript's text item delimiters to {"&amp:"}
    set i to Delimited_List as string
    set AppleScript's text item delimiters to Old_Delims
    end if
    if length of i < 33 then
    set TranDescLength to length of i
    else
    set TranDescLength to 32
    end if
    set OFX_Data3 to "<NAME>" & (text 2 thru TranDescLength of i) & return & "</STMTTRN>"
    set OFX_Data to OFX_Data1 & return & OFX_Data2 & return & FITID_Data & return & OFX_Data3 & return
    write (OFX_Data) to OFX_File
    end if
    end repeat
    set OFX_Footer to "</BANKTRANLIST>
    <LEDGERBAL>
    <BALAMT>00.00
    <DTASOF>20991231000000[-5:EST]
    </LEDGERBAL>
    </STMTRS>
    </STMTTRNRS>
    </BANKMSGSRSV1>
    </OFX>" as string
    write (OFX_Footer) to OFX_File starting at eof
    set AppleScript's text item delimiters to Old_Delims
    do shell script "rm " & quoted form of the POSIX path of QIF_File
    tell application "Finder"
    --activate
    open file (((path to documents folder) as string) & Acct_Num & ".ofx")
    delete file (((path to documents folder) as string) & Acct_Num & ".ofx")
    end tell
    end open
    on addleading_zeros(ThisNumber, MaxLeadingZeros)
    set the Threshold_Number to (10 ^ MaxLeadingZeros) as integer
    if This_Number is less than the Threshold_Number then
    set the Leading_Zeros to ""
    set the Digit_Count to the length of ((This_Number div 1) as string)
    set the Character_Count to (MaxLeadingZeros + 1) - Digit_Count
    repeat Character_Count times
    set the Leading_Zeros to (the Leading_Zeros & "0") as string
    end repeat
    return (Leading_Zeros & (This_Number as text)) as string
    else
    return This_Number as text
    end if
    end addleadingzeros
    Best regards,
    Chris

  • Opening  files with selected applications.

    This is the second time I post this subject. The first time, I thought I had solved the issue using a package named `Default Applications` [suggested in the discussion forum]. But this was `illusory`. If I tell the machine, in all the way I know, to open .f or .c (fortran/c) files with Aquamacs Emacs by default, it will do it a couple of times, but after a while, (a restart...I have not checked) Xcode wins again! I definitely don't want to use the Xcode editor. What should I do? Should I erase Xcode from the disk or eventually there is some more elegant solution to this problem? My impression is that this is a bug of the OS [the *always open with* button does not work at all], which should be cured in the new edition. I know from many collaborators and friends that they have exactly the same problem.

    I had this problem before with how I view the inside of my main Hard Drive. I Keep on changing the view ( J in Finder) with bigger icons and a green background but after every restate its back to small unorganized icons with a white background. Two days ago I enabled finder to show hidden items. I Found out the .DS_Store was owned to another Admin on my computer. I changed it to mine and it's all swell.
    So even though Repair permission did not work for me to fix the problem for me, I still recommend to Verify and Repair permissions.
    Second I should suggest to find the file(s) that handles what files are opened with. (I'll do my part in finding it)
    I hope this solves it.
    Ti Powerbook G4 1.0 Ghz   Mac OS X (10.4.10)   512 mb RAM

  • Inability to open file with appropriate application

    I am a huge fan of Symantec’s classic outlining program, More 3.1. Until OmniOutliner implements cloning, I will need to stay with MORE running in Classic on a non-Intel system since so much of my professional work is done in MORE.
    Just recently, I’ve noted a problem opening MORE files. Specifically, they all open in OmniOutliner (v3.6.2 Professional) if one double clicks on them.
    I’ve done a “Get Info”, navigated to “Open With”, navigated to the MORE application, chosen “All Applications” (rather than “Recommended Applications”), but am unable to select the More application (it remains dimmed out). In the past this process worked just fine.
    Interestingly, I am able to open these files from within MORE; ie, if the MORE application is running, I use MORE’s “Open File” command and all works well. All MORE files work fine when they are opened in this fashion.
    The only thing that I can think of is that I had to do an "Archive and Install" to repair damage from a system crash last week. Could this have somehow affected this Classic application’s opening process?
    I’ve “Repaired Permissions” via Disk Utility, and also run Applejack from single user mode. I’m running OS 10.4.10 on a 1.6 GHz PPC. All else on my system seems to be working perfectly.
    Any information as to how I may set my MORE files to open with the MORE application with a double-click or Command-O would be greatly appreciated. Thank you!

    I suggest that you reset the LaunchServices database as detailed in:
    http://www.thexlab.com/faqs/resetlaunchservices.html and
    http://www.macosxhints.com/article.php?story=20031215144430486
    Restart, select a More document, and see if that fixes things.

  • Opening files from java application by other programs

    Hi! Could you tell me how to solve such task. After saving of file on local drive by applet i need to show a link "View file" that will open file by assotiated programs (.doc - MSWord, .pdf - Acrobat Reader etc. applet will work on Linux platform too). Thanks!

    Just provide a link to the file and leave it up to the OS to determine which program to use to open it.

  • Google Chrome doesn't open files with any applications

    Hey all,
    After downloading stuff, it is desirable to open the files downloaded; however this is made difficult on my Arch system because Chrome doesn't know what to open the files with, nor does it ask.
    I'm using SLiM, xmonad, and have a rather minimalistic set up.
    Secondary to this, Chrome cannot determine by itself whether it is the default browser application.
    I don't know where I could provide this information to Chrome, Can anybody help?
    Thanks

    have a look here
    http://bbs.archlinux.org/viewtopic.php?id=89053

  • Open File With LabVIEW Application

    I have a LabVIEW application that can be used to analyze several data files at once.  I am wondering what the best way to right click on a file from Windows Explorer and open with the application.  I know you can use the command line property node to find what file was opened if the application is not running when you open the file, but from what I found, this does not work if the application is already running.  I have a work around in place by using my main application as an ActiveX server, and another application which reads the file name from the command line when the user right clicks and opens the file, passes the path to the main application, and shuts down so the process can be repeated.  Is anyone familiar with a way to do this without have two executables?

    This is not easy but you can find info there :
    - http://lavag.org/topic/10829-how-to-assign-file-extension-to-exe/
    - http://lavag.org/topic/4851-associating-my-exe-with-a-specific-file-extension-type/
    - http://labviewwiki.org/Associate_your_own_file_type_with_Windows_Explorer
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Maybe you are looking for

  • DMS document migration from Third Party DMS server(Omnidocs)

    HI guys, I would like to migrate document from Third party DMS server to  sap DMS server. What is the apporach. 1. The thir party dms server is protected with login name and password. How i can extract data from the software. Please spread your thoug

  • Wondering if july 2011 macbook air can support airplay mirroring

    wondering if july 2011 macbook air can support airplay mirroring

  • "General" Preference Pane Issue

    For some reason, when I set a number in the Documents option of the "Number of recent items:" the next time I log in the option has changed back to "None." This does not happen with the Applications and Servers options. Any ideas appreciated.  It's c

  • Where is the temp save location?

    Hey ya, I'm exporting a REALLY large file using Quicktime Just wondering where it puts the new file as it is working on it. The destination file seems to remain at 48B

  • Local DB connect OK, remote ping OK. Remote DB connect KO

    I have installed 11g XE on a VM. I can connect to DB locally on the VM I can ping VM from the main computer. However, when I try to connect to the DB from the main computer, I get the following message in SQLDeveloper: "The Network Adapter could not