Webstart - Registering a custom file type

I'm trying to use a jnlp file to register a custom file type (*.flf) with Windows XP / Vista. I have added the following line to the jnlp file near the bottom (right by the main class tag):
<association extensions="flf" mime-type="application-x/flf" />On some sites I have found this listed as mime type first and extensions second and also with just a > no the end without a />. Neither seems to be working. I also found it listed inside the information section but this didn't work either.
Am I missing something blindingly obvious? For reference heres the entire jnlp file
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SimpleExample Application -->
  <jnlp codebase="http://ukpcw032:8080/jclock" href="jFreelancer.jnlp">
    <information>
       <title>CVC Freelancer Time Sheets</title>
       <vendor>CVC</vendor>
       <description>CVC Freelancer Time Sheets - Program to allow freelancers to generate their time sheets for submission.</description>
       <description kind="short">Fee</description>
       <offline-allowed/>
       <icon href="images/overview.png" />
       <icon kind="splash" href="images/splash.jpg" with="365" height="260"/>
       <shortcut>
       <desktop/>
       <menu submenu="CVC"/>
       </shortcut>
     </information>
     <resources>
       <j2se version="1.6"/>
       <jar href="jFreelancer.jar"/>
       <jar href="libs/mysql-connector-java-5.1.6-bin.jar"/>
       <jar href="libs/iText-2.1.3.jar"/>
       <jar href="libs/DateChooser.jar"/>
       <jar href="libs/dsn.jar" />
       <jar href="libs/imap.jar" />
       <jar href="libs/pop3.jar" />
       <jar href="libs/smtp.jar" />
       <jar href="libs/mailapi.jar" />
     </resources>
     <security>
       <all-permissions/>
     </security>
     <association extensions="flf" mime-type="application-x/flf" />
     <application-desc main-class="freelancer.UserLogin"/>
</jnlp>

That JNLP file is invalid. Try this variant..
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SimpleExample Application -->
  <jnlp codebase="http://ukpcw032:8080/jclock" href="jFreelancer.jnlp">
    <information>
       <title>CVC Freelancer Time Sheets</title>
       <vendor>CVC</vendor>
       <description>CVC Freelancer Time Sheets - Program to allow freelancers to generate their time sheets for submission.</description>
       <description kind="short">Fee</description>
       <icon href="images/overview.png" />
       <icon kind="splash" href="images/splash.jpg" width="365" height="260"/>
       <offline-allowed/>
       <shortcut>
       <desktop/>
       <menu submenu="CVC"/>
       </shortcut>
     <association extensions="flf" mime-type="application-x/flf" />
     </information>
     <security>
       <all-permissions/>
     </security>
     <resources>
       <j2se version="1.6"/>
       <jar href="jFreelancer.jar"/>
       <jar href="libs/mysql-connector-java-5.1.6-bin.jar"/>
       <jar href="libs/iText-2.1.3.jar"/>
       <jar href="libs/DateChooser.jar"/>
       <jar href="libs/dsn.jar" />
       <jar href="libs/imap.jar" />
       <jar href="libs/pop3.jar" />
       <jar href="libs/smtp.jar" />
       <jar href="libs/mailapi.jar" />
     </resources>
     <application-desc main-class="freelancer.UserLogin"/>
</jnlp>I also have a demo of the [FileOpen/SaveService|http://pscode.org/jws/api.html#fs] that you might also test, but I just noticed that launch file is also slightly invalid. I have seen it work on Win XP using Java 1.6 though.
Edit 1:
I used YAXV to validate the launch file against an XSD that is based on the DTD distributed by Sun. YAXV is freeware, and I highly recommend* using it to check the JNLP file(s) for any JWS launch that does not work as expected.
* OK - I wrote it, so I might be biased. ;-)
Edited by: AndrewThompson64 on Aug 12, 2008 11:05 PM

Similar Messages

  • Is there a 2GB file size limit on saving a custom format plugin for a custom file type?

    I have resolved issues on reading files > 2GB. Now when I save files >2GB, I get a popup that states there is a 2GB limit for plugins.
    I an using photoshop CS6 on a MAC OSX 10.9 with 16 GB RAM.
    The custom file type is what should be selected when the Save As Dialogue is visible. 
    I looked for a setting in the Photoshop preferences for Files & setting to PSB, but did not see one.
    I tried modifying values in the PiPL for formatmaxSize and PluginMaxSize, but the only values that the code will compile in with:
    32767 & 2147483647.
    I saw a posting in previous years that custom plugins were limited to 2 GB. 

    I would like to rephrase my question, now that I have worked a little more with my code.
    Is there a 2GB limit per channel and 4GB limit for total file size for a custom photoshop format plugin?

  • Opening a custom file type

    Hi
    I have a swing application which while configuring creates a custom file type say .foo . I want my application to be launched taking me.foo as command line argument when i double click me.foo. Can anyone tell me how this can be achieved?
    Thanks in advance. Any code snippet explaining this will be very helpful

    I want my application to be launched taking me.foo as command line argument
    when i double click me.foo. Can anyone tell me how this can be achieved?
    Thanks in advance. Any code snippet explaining this will be very helpfulThis is not really a Java question - what happens when you double click an icon is really up to your operating system/ desktop manager etc.
    On Windows you can set this behaviour by running WindowsExplorer and from the "Tools" menu select "Folder Options...", then look at the "File Types" tab.
    You will see lots of file types sorted by extension. Have a look at how a file type with which you are familiar is set up, and then have a go using the "New" button to create your own type. Once it's created you can associate commands with actions that appear on the menus of WindowsExplorer for that type including a default action that will be carried out when the icon is double clicked.

  • Adobe illustrator window gets minimized when saving custom file type.

    I had created a new file type . When I try to save a document in the newly created file type the Adobe illustrator window gets minimized (restored).

    I tried ringing Adobe and after creating a new user account on my system and logging into that, I was then able to use illustrator. This is okay but not ideal as I don't want to have to switch between accounts each time I want to access my files. Any ideas on how to solve this? I have tried uninstalling and deleting preference files again but still the same problem...?

  • Code hints & colorize: custom file type

    Example:
    I'd like to colorize and have code hints of my STYLES.CSS.PHP
    not as a PHP
    document, but as a CSS document. Is it possible?

    Changing and adding file extensions recognized by Dreamweaver
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410
    Note- edit the Configuration folder for You as a User-
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Custom File(Eclipse Resource) Types

    In FlashBuilder you can create new files of types:
    - ActionScript File
    - ActionScript Class
    - ActionScript Interface
    - etc
    Is there a way to create a custom file-type, so i can attach a custom template to it?
    in example:
    - File -> new -> ActionScript Singleton
    which shows the default 'new actionscript class' wizard, except that when the file is created it does not use the 'ActionScript Class File Template' but my own 'ActionScript Singleton File Template'
    If this is possible, i might also be possible to create custom project types as well?

    Hi,
    We could not block file types based on size by using FSRM. As a workaround you could use disk quotas on NTFS Volumes which are tracked on a per-user. 
    To apply disk quotas to existing volume users, add new quota entries in the Quota Entries window. Please understand that it will take you some time to add all users into the list. 
    It will allow administrators to control the amount of data that each user can store on an NTFS file system volume.
    For more detailed information about disk quotas on NTFS Volumes, you could refer to the article below:
    File Systems
    http://technet.microsoft.com/en-us/library/cc938945.aspx
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • RemoteApp 2012 and File Type Associations

    Hi, All :),
    the scenario is like this -  2 x Server 2012: one as the RD Connection Broker and RD Web Access and one as the RD Session Host (clients are Windows 7). ALMOST everything works: there is one collection, several applications, all successfully thrown into
    the RemoteApp and Desktop Collections by GPO (Powershell script - http://gallery.technet.microsoft.com/ScriptCenter/313a95b3-a698-4bb0-9ed6-d89a47eacc72/).
    But one thing doesn't work - file type associations. Well, I want the client without, for example, Office installed to open the RemoteApp application (Excel) by clicking on the XLSX file. When looking at the application properties -> File Type Associations
    -> Current Associations column, I see the name of the collection, which includes Excel ... but it does not work. After updating the RemoteApp and Desktop Connections on the client, the RDP file with Excel noticed a new line:
    remoteapplicationfileextensions: s:. csv,. xls,. xlsx,. xltx
    How do I make it work? I know that in RemoteApp on Server 2008R2 you could export the MSI file that took care of File Type Associations, but what to do in case of Server 2012?

    Unfortunately, the feature to install file type associations for RemoteApp programs in your GPO-pushed RemoteApp and Desktop Collection is only supported on Windows 8 clients. Several improvement were made over the old MSI-based file type associations, and
    those improvements rely upon changes in the Windows 8 OS.
    Ultimately file type associations are controlled with registry keys, all of which are documented on MSDN. RemoteApp programs are pretty much the same as any other local program, except the file type is associated with mstsc.exe with some special parameters.
    Although the way we register those file type associations in Windows 8 won't work for you, the way the old MSIs used to register them would. You could in theory register the RemoteApp file type associations yourself in the same way that one of the old MSIs
    would have done (you could use some sort of GPO-pushed script on the clients).
    The easiest way to do this would be to track down one of those old MSIs, install it, and do a before-and-after view of the registry to see what changes it makes.
    Hope that helps,
    Travis Howe | RDS Blog: http://blogs.msdn.com/rds/default.aspx

  • Adobe AIR application file types

    Hello everyone,
    I dont know how to go about this but i was wondering how possible it is to create an application with its own filetype using the AIR application descriptor xml file in such a way that everytime a file is created from that Air App, it takes the icon of  the application. I kmow this is posssible beccause i have tried it. What is even cooler is the fact that everytime you click on that file, you AIR app automatically starts. But the Real Question is how do you start the App with you file loaded.
    In my case i'm writtting an app in which you can create or load an SQLLite database file with a custom file type. Its an inventory manager which you can load databases which contain inventory information u previously stored or create a new database file to store your new inventory information. How do i Click an already existing database file so that the application loads with that database...
    Anyone done something similar?

    No thanks Guys, i figured how to load those files...all i had to do was to provide an implemention for the application's invoke event. the files clicked can be accessed by the event object's argument property which is an array so if you selected a file, the native path of the file can be accessed using event.arguments[0]
    I hope this information is valuable to anyone who needs a similar functionality!

  • Blocking attachments of file type .icl

    Hi
    We would like to configure our IronPort server to drop attachments of type iCal (.icl). However I can not find that file type under file types in the Attachment file info File type is. Is there some way to add a custom file type in IronPort? Or will it work with adding a filename contains *.icl type of condition?
    In the log it shows the attachment as a name of meeting.icl but I dont know if all the iCal meetings has that name or if that meeting simply was named that way.

    Hello Andreas,
    easiest way would be matching to the file name with the file name  action in message or content filter (I suppose you'd not need a  condition for that, because an action drop-attachment-by-filename is  already a perfect fit, and makes the filter easier). 
    In theory, there is also a message filter condition  called "attachment-binary-contains", which let's you enter a binary  pattern, i.e. a magic number for a given file type. However, this  condition has no corresponding action to drop that attachment, so it  would be only useful to quarantine or drop a whole message.
    Hope that helps,
    Andreas

  • Create custom code colouring for additional file types

    Hi All,
    I spend a lot of time editing .ini files in Dreamweaver (in my case langague files for custom Joomla extensions). Although the file format is extremely  simple, particularly in the way that they re used in this context, I would like to improve the readability by adding code coloring  for strins, standard text and comments.
    I haven't been able to find any really useful information on the web about how to go about doing this.
    From what i can gather, the steps are
    Get Dreamweaver to recognise the file type (editing Extensions.txt and MMDocumentTypes.xml?)
    Add the code coloringxml file.
    So far I've had no success with the first step, so haven't tried the second.
    It would be great if I caould also add it as an option in the New File dialog.
    If some kind and clever person could point me in the right direction, it would be much appreciated.
    I'm in Dreamwaever CC on Windows 7, if that's relevant
    Cheers
    Keith

    From what i can gather, the steps are
    Get Dreamweaver to recognise the file type (editing Extensions.txt and MMDocumentTypes.xml?)
    Add the code coloringxml file.
    So far I've had no success with the first step, so haven't tried the second.
    It would be great if I caould also add it as an option in the New File dialog.
    What have you tried so far that made you think that you were not successful?  To add new file extensions to be recognized in DW, you need to go to:
    Edit >> Preferences and then look for something like in this picture:
    Now this is in CS6 and I suspect the steps should be similar in CC.  If not then CC is a step backwards in terms of progress in current technology IMO.  I don't use CC so can't comment any further here.
    Good luck.

  • PDF does not remain in the Registered file types list

    I've installed Adobe Reader X. The PDF file type was not automatically associated with Adobe Reader. So, I went through the standard process of adding it to the Windows Registered file types. It does not remain in the list. I've checked the box to "Always use the selected program.....", but when I reopen the Registered File types window, PDF is not there. PDFX is there and registered to open with Adobe Reader, but not PDF.

    I forgot to mention, I'm running Windows XP SP3.

  • How can I include multiple limits in the sequence file documentat​ion for custom step type?

    Hi,
    I have a custom Step Type that contains Measurements property under Results. Its type is Array of NI_LimitMeasurement.
    I would like to see the values in the sequence file documentation like NI_MultipleNumericLimitTest type.
    Is there any trick to do that?
    Thanks,
    Andras

    Hi Andras,
    I have made  a slight change to the sequencefile 'docgen_txt.seq'.
    In the Sequence 'Step Doc' is a section which handles MultipleNumericLimit step type. There is a precondition check on the step 'Add Multiple Numeric Limits' if the step is of type 'NI_MultipleNumericLimit'. As your step type is based on the MultipleNumeric Limit type, I have just removed this precondition and just relied on the existence of Parameters.Step.Result.Measurement. Equally you could add a new section in this sequence to handle your Custom Step Type which is only called when the precodition match your type name.
    Now when you run the DocGen tool it handles your custom step type.
    Find attached my modified sequencefile 'docgen_txt.seq'.
    Just copy the contents of '..\National Instruments\TestStand 3.5\Components\NI\Tools\DocGen' to the User folder. Then place the attached file in the User\Tools\DocGen overwritting the version that is in that folder.
    Then launch TestStand and try it out on your sequence file.
    If you are using the html version, then you will have to make the same change into Step Doc sequence of the docgen_html sequence file.
    Hope this helps
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 05-19-2007 05:28 PM
    Regards
    Ray Farmer
    Attachments:
    docgen_txt.seq ‏184 KB

  • There are no readers registered for the txt type - Issue importing txt file

    Hello guys,
    I am working on SQL developer 3.2. and Oracle database 11g. I am trying to import a txt file with only two columns and 100 rows separated with a pipe. I can import the same file if its in *.CSV or *.xls format. I right click on the table > Import table > Choose the *.txt file > and then I get a message "There are no readers registered for the txt type". Why? Where do I get the reader? I am using the same exact method and the same exact data to import using a different file format and I do not get any errors. The wizard comes up and I am ready to load. I have scoured through this forum for a solution and I could not find one. Any help is very much appreciated.
    Thank you!

    It means we don't support that file type for doing imports. It sounds like a reasonable request to [add to the Exchange|sqldeveloper.oracle.com] though.

  • Custom thumbnail for a file type, not a single file

    I understand that when I upload an asset to the DAM of a file type for which CQ5 doesn't support thumbnail generation (Excel .xls and .xlsx, in my case), CQ5 will use a default dogeared-page icon for the thumbnail.  it also writes an error-level message to the log to the effect that it can't generate a thumbnail.  E.g.,
    15.10.2012 12:03:47.078 ERROR [JobHandler: /etc/workflow/instances/2012-10-15/model_1135358760340484:/content/dam/FY06NIVDetailTable1.xls/jcr:content/renditions/original] com.day.cq.dam.commons.handler.AbstractAssetHandler createThumbnails: cannot create thumbnails for asset [/content/dam/FY06NIVDetailTable1.xls], failed loading graphical representation for rendition [/content/dam/FY06NIVDetailTable1.xls/jcr:content/renditions/original].
    The error message is mostly harmless, but I would like to prevent it.
    And I understand that I can add a thumbnail after the fact.  But despite the language in the document, apparently this thumbnail does not apply to subsequent uploads (for all files of the same type).
    Is there a way to establish a thumbnail image that applies to subsequent uploads?

    Hi David,
    Thumbnail upload (or for that matter any rendition upload) is specific to that image and it will not apply to set of images.
    If we want to apply some custom thumbnail instead of the default one either we need to override the default image or custom workflow step is required.
    If we override the default image it will apply acroos the DAM.
    Regarding custome workflow step. This step will be added after thumbnail creation step in DAM Update Asset workflow(this wf is responsible for creating all renditions). In this workflow step you can check whether thumbnail is created or not if not create thumbnail of your desire.

  • Custom sort by file type?

    Hello. I have been using PSE6 for a while but have recently started the trial of Aperture.
    There is a lot to like in Aperture, but I have been unable to get around the problem of sorting my RAW and JPEG files.
    I shoot in RAW+ and have been importing using PSE's importer. That renames the image files and places them on my hard disk. Each image exists as both a .dng and .jpg.
    I have imported a few of these sets of files into Aperture to evaluate it, but can not work out how to do the PSE equivalent of filtering by file type. In PSE I can select a filter to show just the JPEGs or just the RAW. That way I don't have to scan through duplicate versions of every image. Worse still, Aperture doesn't show the file extensions in the filenames that sit under the thumbnails, so both file types for a particular image appear with the same name.
    Can I do the same in Aperture? I saw the 'Custom' option in the sort drop down menu and thought that might do it, but it is greyed out. I can't find anything useful about that option in the manual.
    Reading other posts in this forum I realise that if I had imported from the cards using Aperture I would have only seen the .dng files unless I ctrl-clicked and that would be fine for me. But I have over a year's worth of files already imported with PSE and need a solution to deal with those.
    Thanks!
    P.S. I just worked out that I could type '.dng' into the search box on the film strip and that displays only those files. That gets the result I need, but not as elegantly as having a predefined or custom criterion I can select.

    I too have found that a bit frustrating that there isn't the sort by "kind". I'm used to using Lightroom and/or Adobe Bridge. I like you, have the dng and finished jpg or tiff's next to each other. I have found a work around that works most of the time to sort so it is easy to see which is which.
    Instead of looking at the photos as a thumbnail, look at them in the list view and sort by pixel or file size.
    My dng's are always way larger so they are all listed together. I then can rate the originals. Then I sort them by File Name and the stars from the originals show up.
    Sue

Maybe you are looking for

  • How to create a context menu in ALV table cell editor(Webdynpro abap )

    Hello Experts, I am having a problem in creating a context menu in a table cell editor in the ALV table output.I have assigned a 'lta' as the cell editor.But befor assigning the lta as cell editor I have assigned the menu to the lta.But when the view

  • I can't connect ipad mini to att wire2

    My ipad mini won't connect with my ATT&T wireless router wire2  I have  2 iphones that work fine

  • Upgrading the db to 64bit for our multinode 11.5.10.2

    Hi, I am going to upgrade my db tier to 64 bit. It is a multinode 11.5.10.2 install. Any particular items/gotchas that I need to keep an eye out for in the 11i side of things? Thanks,

  • Adobe reader snapshot tool

    hallo i am pretty sure that once i could use the snapshot tool to copy vector format into the clipboard (emf, wmf) when i had vector information in the pdf file. now with acrobat reader X i always end up with pixels. i found the option to increase re

  • Info record price change

    Hi How to change the price in info record which is already in use? It's greyed in the combination in info record. regards