Determining application (including version) for opened files

Hi,
I have an Oracle Forms 6i client server application which runs under Windows XP. In this application, files are opened on the filesystem by executing the Windows API function Win_API_Shell.ShellExecute which essentially does the same thing as double clicking the file in Windows Explorer. The file will then open in its native editing software. I would like to programmatically record which application (including version) is used to open the file. Is there a way to get this information for any type of file you open? Any help would be appreciated.

Hi Alex,
Thanks for your reply. Our intention is to open any type of file through Forms and have the file open in its native application. We just want to be able to determine programmatically what application (including version) is used to open the file. We do NOT want to specify which application to use to open the file. For instance, if I open the file work.doc and it automatically opens in MS Word 8.0, I want to record that the file was opened in MS Word 8.0. Is there a way to do this?

Similar Messages

  • ORA-27078: unable to determine limit for open files

    I installed Oracle XE on my Gengoooraclexe@ghost ~ $ lsnrctl
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2011 16:51:29
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 25-JUN-2011 10:03:30
    Uptime 0 days 6 hr. 48 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ghost.emacs.com)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Poraclexe@ghost ~ $ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 25 07:19:58 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> show user
    USER is "SYS"
    SQL> startup
    ORA-27078: unable to determine limit for open files
    Linux Error: 1: Operation not permitted
    Additional information: 1
    Additional information: 1
    Additional information: -2958340
    SQL> startup force
    ORA-27078: unable to determine limit for open files
    Linux Error: 1: Operation not permitted
    Additional information: 1
    Additional information: 1
    Additional information: -3378372
    SQL> startup
    ORA-03113: end-of-file on communication channel
    SQL> exit
    Disconnected

    unable to determine limit for open filessee http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#BABJFAIA
    Is that a debian flavored distro?

  • Setting Default GUI Properties for Opened Files?

    OK, so you can set up a template for AIs you create yourself, to include things like Layer Panel thumbnail size etc, but can this be done for opened files?
    I work on a very large screen and always want to increase the layers panel thumbnail size, but it's a few clicks to do it, and I'd like to be able to set this value for all opened files, if this is possible. The default thumb. size is way to small and always needs bumped up.
    Are these values stored in the AI (since templates are simply AI files) or can a default value be set? if so, how can I do this?
    Thanks
    Richard

    You cannot change this for all opened files, as this is a per document setting unfortunately.
    To make a new document profile as per Monika open one fo the profiles here:
    Users/ Username/ Library/Application Support/Adobe/Adobe Illustrator CS4/en_US/New Document Profiles
    Change your thumbnail size to larger, then save over that profile
    When you make a new document choose that profile.

  • Best online backup for open files?

    Recommended online backup service for "open" files?

    Time Machine is excellent and is part of the applications provided.  This link explains all aspects of Time Machine:
    http://pondini.org/OSX/Home.html
    If you are looking for a slightly different approach, Carbon Copy Cloner is a third party application that also is used extensively in the Mac community;
    http://www.bombich.com
    Ciao.

  • How to define "byte stream type" for "open file"?

    Hello,
    I created some numbers (type "double") in Matlab and stored in a file. What value should I use to specify the "byte stream type" for "open file" in Labview? Should I put something like "DBL" or "I32". I don't know where to find the list of legal "types" in Labiew help.
    Thanks so much!
    Felicia

    Looks like 7.1:
    The Matlab "double" is 64 bits (8 bytes). It doesn't make much sense to use an integer datatype to read a floating point value, so you would use DBL in LabVIEW. The numeric data types table can be found here.
    By the way, this assumes you saved the file as raw binary, as opposed to a .mat file, which is something different.
    Message Edited by smercurio_fc on 08-08-2008 11:21 AM
    Attachments:
    read file 7.png ‏13 KB

  • Using a LabVIEW application as default program for opening files

    Google has returned nothing useful on this.  I want to use a built LabVIEW application to open data files from the Windows desktop. It is easy to edit the Windows registry to set the application as default program - but I'm not sure how to set the event in LabVIEW to open the file.  Any suggested reading?
    Solved!
    Go to Solution.

    I have done this before...I have a small LabVIEW .exe which looks at the version of a VI and selects the appropriate version of LabVIEW to open it with if available. It also adds explorer context menu items for allowing you pick a specific version of LabVIEW to open the file with.
    This is a rough idea of the registry keys for adding a program to handle specific file types and to add items to the shell menu in the installer:
    Add your own 'LabVIEWOpenWithVersion' key and then add the key name to the OpenWithProgids for the file extensions you want to be able to open with your application. The command part looks like this:
    Look at the Windows/MSDN help for what the different keys mean and how they are used, I think you can also set a key to make one of your handlers (e.g. Open, openWithLV) the default for the file type.
    For getting the file that was opened 'with' your application, use the App.Args property, ignoring the first item (which is always LabVIEW) in the array.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How to define the application to use for opening each file type (pdf, jpg,...)

    I installed an external application, and this new application has been configured by defect that it will be used to open all files with extensions like jpg, pdf, etc...
    I want to revert this situation and define again the proper application I want to use for opening each file type. How can I do this in Lion?
    Thanks,
    Azaldier

    Pick a representative file.
    Get info. (Command-i)
    There you will see a place "Open with" where you can select the application for that file.
    Hit the "Change all..." button to do this for all files of this type.
    charlie

  • File Server Role: Slow access for "opened files" and slow Explorer browsing

    Since we migrated our fileserver from Windows Server 2008 R2 to Windows Server 2012 we are facing two major problems:
    1. Opening files which are already opened by other users takes about 1 minute before the file actually opens. This is not only for Office files such as Excel and Word, but also for other (not office) files. Again, this problem only rises when the file(s)
    is/are already opened by another user. There seems to be a sort of "Lock" check time which is about 45 to 60 seconds.
    2. The other problem is browsing via Explorer through the network drive (all clients are Windows 7 clients). Half of the time there is some kind of "hick up" with displaying the results of the folder. I cannot figure out a patern, but if there
    is no "hick up" then browsing is very fast (also in the busiest times of the working day)... If there is a "hick up" the result can take about 50 seconds to display the content of a folder.
    I suspect the SMB implementation / settings of Windows Server 2012 which are causing the problems...
    Things I tried:
    1. Changed the Oplocks wait time to 10 seconds (which is the minimum). The result is that openening files does indeed go some faster (still taking about 45 seconds).
    2. Disabled SMB2: the result is that browsing is fast... Opening files does go faster. BUT: we are then facing other problems like some files are not able to open... This setting was, after getting a lot of complaints from the users, changed back to enabled
    SMB2.
    3. Within the NIC card properties I disabled "QoS packet Scheduler", "Link-Layer Topology Discovery Mapper I/O Driver", "Link-Layer Topology Discovery Responder" and IPv6 (as we only use IPv4).
    All above with not the promising results.
    The server is a dedicated (virtual machine on vSphere 5.1) fileserver.
    Please Advice since this is not workable, and we have postponed the migration of the fileserver for our aother location.

    Hi Dave,
    I suggest you disable all third party applications like Anti-Virus application to test if it could reduce the waiting time when accessing a file.
    Here are some related threads below that could be useful to you:
    DFS Slowness when Opening Microsoft Documents and Excel Spreadsheets
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/61ec9a99-0027-44cb-815c-0da9276c1c96/dfs-slowness-when-opening-microsoft-documents-and-excel-spreadsheets?forum=winservergen
    Opening files over network takes long time
    http://social.technet.microsoft.com/Forums/windows/en-US/c8ddb65f-8a17-4cee-afd4-dfc09e99d562/opening-files-over-network-takes-long-time?forum=w7itpronetworking
    opening folder or file takes over a minute on Windows 2008R2 File server
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b9aa98c4-3ef7-4e6d-810d-6099e72b33f6/opening-folder-or-file-takes-over-a-minute-on-windows-2008r2-file-server?forum=winserverfiles
    Best Regards,
    Amy Wang

  • Change default application to Pages for .doc files?

    When I double-click on a .doc file, TextEdit is the application that opens the file. Is there a way to change it, so that Pages '08 is the default application for .doc files?
    Thanks!

    Select the file (in Finder)>File>Get Info, then under "Open With", select Pages and click "Change All".
    Message was edited by: nhuser

  • Do not want new version for rdl file for each snapshot rendering

    ssrs 2012 sp1 sharepoint mode, sharepoint 2013
    option set for the report - render from snapshot, a schedule set for the snapshots creation
    each snapshot rendering adds new viersion to the rdl file with updated field
    Execution DateTime - not really sure who needs this "feature" but it would be nice to switch this off/fix a bug
    Sergey Vdovin

    Hi Sergey,
    Sorry for my misunderstanding.
    In SharePoint, the generation of a report version is determined by the modifications of the entire SharePoint list item. If any field of the list item is changed , it will create a new version for the list item. For a report RDL file uploaded to a SharePoint
    document library, the report version is not just created based on the modifications to the report content. In your case, once it has generating a new snapshot, it will modify the column Execution DateTime value.
    Besides, once we configure a report to render based on a snapshot, the Execution Datatime field will be available in the library view. However, if we create snapshots manually rather than based on a schedule, this field won’t be updated, hence, the report
    version won’t be added. If we configure the snapshot to be generated based on a schedule, the Execution Datetime will be updated each time the snapshot is generated, thus the report version will be updated. This is actually a by design inconsistent behavior
    between Reporting Services and SharePoint.
    To avoid this behavior,  on Reporting Services side, you need to either disable the snapshot or configure the snapshot not to run based on a schedule. Taking into account that this may be unacceptable for your, there is a possible approach on the SharePoint
    side. In SharePoint, if we want an item to update without creating a new version based on a judgment condition, we can use Visual Studio workflow and with a code to determine when to update list item. Here is some resource about this topic for your refer:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/750658ca-5a5d-49cb-99c2-70335fd5375b/updating-an-item-in-list-with-out-creating-a-version?forum=sharepointdevelopmentprevious
    http://www.codegain.com/articles/sharepoint/developmentprogramming/what-is-the-difference-between-splistitem-systemupdate-and-splistitem-update-method.aspx
    Since the approach is related to SharePoint development, if you need more help, I recommend you post a question in the following forum to get dedicated support:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/home?forum=sharepointdevelopmentprevious
    Best Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • How do you determine the firmware version for a laptop docking station?

    How do you determine the firmware version of a HP docking station?
    Laptop Model: HP 2740p
    OS: 64bit Windows 7
    Expansion Base: 2740 Ultra Slim Expansion Base WA995AA#ABA
    Thank you for any assistance.
    Alvin

    atenpo wrote:
    How do you determine the firmware version of a HP docking station?
    Laptop Model: HP 2740p
    OS: 64bit Windows 7
    Expansion Base: 2740 Ultra Slim Expansion Base WA995AA#ABA
    Thank you for any assistance.
    Alvin
    WA995AA#ABA shows to be a hard drive, not a docking station

  • How do I determine current firmware version for WRT54G

    I've been poking around the site a bit, and note that there are mandatory upgrades to various firmware versions. I'd like to upgrade if necessary, but have no idea how to determine what firmware version I have right now.Message Edited by shelmart on 12-17-200605:36 AM

    What is the excact hardware version # of your router? U can find that underneath the router itself, there's a sticker there & its just right below the Linksys Logo. If its version 5 or 6, u can go to this website: www.linksys.com/connect . Download  & save Easylink Firmware Tool & then before u run that file after saving, disable first all your internet security like firewalls & anti- virus coz it will block the connection of this software from running properly. That EFL will automatically upgrade the firmware of your router.

  • I have a file that was created in FH 11 and I am using same version.Originator opens file and everything is fine and also earlier version opens it fine.when I open it the links shift 1/8" up and left.Has anybody had this happen to them

    I have a file that was created in FH 11 and I am using same version.Originator opens this file and everything is fine and also an earlier version opens it fine.When I open it it shifts the links 1/8" up and to the left.Has anybody ever had this happen to them?

    What file format(s) are the "links"?
    If raster images, do they contain clipping paths or transparency?
    What is your platform and OS?
    Were the FH documents created on the same platform (Mac or PC) as the one you are currently using?
    Were the linked files created on the same platform (Mac or PC) as the one you are currently using?
    Can you reproduce the problem with a newly created document and the same linked images?
    There was once an issue with transparent 1-bit TIFF images shifting, but I believe that was in a previous version of FH.

  • Is it possible to set a password for opening file ...

    Hello,
    After copying a file( word doc or xls) to E72, I would like to set password for opening that file. Is there a way to do this ? I would like pwd protection for opening the file in quickoffice , so I am not looking at a password protected office document as those E72 cannot open.
    Thanks

    No one here would know why Apple does anything unless they announce.  We are all iphone users just like you.
    http://www.apple.com/feedback

  • Please Help! How do i make MS OFFICE the default programs for opening files

    Hey,
    Someone please tell me how to make MS OFFICE the default for opening up excel, word and pp files....Ever since i migrated all my stuff to my new 24in everything opens up in iwork instead of office, which is really annoying.
    Thanks in advance,
    JW

    Hi skymedic: Quite easy to set the default program actually. Find a file you need to open, single click. then Right Click and select "Get Info". When this window opens, select the program to be used then click "Change All'. Please note you will need to do this for all file types you want to open with Office. EG: .DOC .PPS .PPT .XLS etc..
    Good Luck
    Stedman

Maybe you are looking for

  • Encapsulating a query in a view with "parameters"

    I have a complex query using analytic functions and an inline view, something like: select * from ( select a, b, c, row_number() over (partition by x, order by y) rn where b like 'XXX%' where rn = 1; (The actual query is a little more complex, but th

  • JSP with PL/SQL Cartridge

    I have installed OAS 4 and JavaServer Web Development Kit Version 1.0 in one PC and with o8i in another PC. I've got problem in linking a PL/SQL cartridge, which will return a small page, with my jsp. I've got no problem if I run the jsp under the OA

  • Max No of Requests Wait ????

    I am on WAS 700 in SM51 --> Select Application Server >Go to >Server Name >Information >Queue Information. The table shows table of 6 coloumns. One of the coloumn of the table is 'Max No of Requests Wait ". What it is ? Max number requested at peak t

  • Apache XML Security

    hi i use Apache XML Security API for document sign sig.addDocument("file:/d:/test.xml", transforms, Constants.ALGO_ID_DIGEST_SHA1); how i can sign a pdf ,docx .... with Apache XML Security API ? it does not work sig.addDocument("file:/d:/test.pdf"...

  • Delivery challan in transfer posting

    Hello SAP Gurus, I am transfering material from my store to a project. A delivery challan needs to be created and sent along with this material. How to create a delivery challan (What is the transaction) and how can I assign external number range to