How to set icon to a file type??

How to assign an icon to the application generated file?
Thanks in advance.

What GUI do you work with?
I assume you want to see the icons in Windows. You will have to modify the registry, possibly by some native API call. Have a look at the MSDN library then.
Hiran

Similar Messages

  • Globally setting icon for a file type

    I've been using LilyPond a lot recently. The .ly files it saves don't have their own icon, though, they just get the generic document icon. I know that I can manually set an icon for a single file using 'Get Info', but it's not practical now because I have so many .ly files. Is there a way I can tell OS X to use my own icon every time it sees a .ly file?
    Thanks,
    (- Steve -)

    Hi, Stephen.
    If by LilyPond you mean this application, it's the application's responsibility to assign the custom icon for files it creates, e.g. .ly files you edit and save in LilyPond. You might want to send feedback concerning this to the developers. However, as I understand the application based on a quick review of its manual, it can work with any plain-text (ASCII) file.
    You can change the default application in which all .ly files open by using the instructions in "Mac OS X 10.4 Help: Changing the application that opens a document." That may result in those files bearing the same icon as the LilyPond application. That is also the mechanism by which a given icon is assigned to all files of a given type.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How to add list of multiple file types to file type of file dialog box in LabVIEW

    How to add list of multiple file types to file type of file dialog box in LabVIEW?
    In file dialog box there is option to add only one file type,in the list,not by seperating commas,
    regards,
    Naresh.N

    Write the file types in pattern Input string, separated by a semicolon ;
    For example:  *.vi;*.doc;*.jpeg;*.xls
    This should return the set of files with matching extensions
    Message Edited by devchander on 09-10-2008 08:02 AM
    Message Edited by devchander on 09-10-2008 08:03 AM

  • How to add support for new file type.

    Using the ESDK, I would like to add support for new file type ( a new extension). this new extension will function like any other non visual code editor but will have specific syntax highlighting, code folding and explorer.
    I am trying ot figure out if I need to create a new editor or use existing JDeveloper code editor and add support for new file type. Does anyone have a high level outline on how to do this using the ESDK that is specifically targeted at adding new file type support for a text based code editor?
    I have looked at the Samples and keep going in multipe directions. It would be cool if there was an example that was how add syntax higlighting for new file type.
    Thank you

    Brian, thank you. I looked at this extension and it answered a lot of questions for me. I was going in the right direction but needed a little help and bost of confidence, this is just what I needed. I created the LanguageSupport, LanguageModel, Addin, Node and TextDocument that are specific to the new file type. I was getting hung up on how to hook this into the JDevelpoer editor. I keep thinking I have to create a custom editor but it looks like I don't have to and it looks like I can associate this file support with the editor framwork, for version 10.1.3.2, with the following in the Addin Initilize() method.
    Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
    CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
    LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    I have done this but still not able to recognize the new file type.
    At this point, I just want to be able to recognize the new file and display it's associated icon or display a messare to the message log. I put a System.out.println("test") in the Initilize() method of my addin. then I registered MyAddin in the extension.xml. JDeveloper sees this new extension and it is loaded but I have not been able to show the test message or display the new icon when I open the new file type.
    extension.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <extension xmlns="http://jcp.org/jsr/198/extension-manifest"
               id="teisaacs.jdev.myext.MyAddin" version="1.0.0" esdk-version="1.0"
               rsbundle-class="teisaacs.jdev.myext.resources.MyResBundle">
        <name rskey="EXTENSION_NAME">My Code Editor</name>
        <owner rskey="EXTENSION_OWNER">Me</owner>
        <dependencies>
            <import version="10.1.3">oracle.jdeveloper</import>
        </dependencies>
        <hooks>
            <jdeveloper-hook>
                <addins>
                    <addin>teisaacs.jdev.myext.MyEditorAddin</addin>
                </addins>
            </jdeveloper-hook>
            <feature-hook>
                <description>My Code Editor</description>
                <optional>true</optional>
            </feature-hook>
            <document-hook>
                <documents>
                    <by-suffix document-class="teisaacs.jdev.myext.model.MySourceDocument">
                        <suffix>my</suffix>
                        <suffix>MY</suffix>
                    </by-suffix>
                </documents>
            </document-hook>
            <editor-hook>
                <editors>
                    <editor editor-class="teisaacs.jdev.myext.editor.MyEditor">
                        <name rskey="EXTENSION_NAME">My Editor</name>
                    </editor>
                    <mappings>
                        <mapping document-class='teisaacs.jdev.myext.model.MySourceDocument">         
                            <open-with editor-class="teisaacs.jdev.myrext.editor.MyEditor"
                                       preferred="true"/>
                            <open-with editor-class="javax.ide.editor.CodeEditor"/>
                        </mapping>
                    </mappings>
                </editors>
            </editor-hook>
        </hooks>
    </extension>
    public class MyAddin implements Addin {
        public static final String MY_EXTENSION = "my";
        public void initialize() {
            System.out.println("MyEditor Constructor");
            new MyLanguageModule();
            Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
            CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
            LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    }I have added and removed the editor hook along with many other modificaitons to the extension.xml but still not recognizing the new file extension.
    Todd

  • How can i change a pdf file type to another file type

    how can i change a pdf file type to another file type

    You can copy the contents and paste it into a Word file. Just don't expect everything to transfer or to retain all of the formatting.

  • How to set up a basic file sharing server for my small architectural business?

    I have no idea if I have posted in the correct area as this is my first forum post within the apple support community!
    I have been using a 21.5" imac running 10.6.8 for the past 5 years to run my small home based architectural design business. I have been using the internal hard drive & backing up the necessary data to a simple usb external hard drive. I am now looking to firstly purchase a new imac 27" retina and purchase new autocad lt 2015 for mac software. I am looking to have another imac (my old mac) running in conjunction with the new mac. I want both macs to be able to access the same data and am slightly unsure what is the best way to achieve this.....As my old mac is currently only running snow leopard and an old version of autocad for mac 2011 it wont run on any more recent OS. Essentially i believe I have 2 main options with this.... (1) I Accept that I have to purchase 2 no. autocad lt 2015 licences @ a cost of £2300. Or option (2), I only run autocad on the new mac as this will be the primary station and the old mac used for primarily for admin & accounts. I have also recently discovered that it is possible to rent autocad licences for £300p/a which may also be another option (3)!
    I previously had a problem where my hard drive failed on my mac & lost all data on the internal hard drive, luckily I had been backing up all data regularly to my external hard drive and now loss occurred! Obviously with any new system I want to ensure that my data is safe!
    I currently utilise about 250GB of data for business operations but this will obviously grow with time.
    In the future I would like to have the option of potentially being able to access the network data remotely via macbook pro whilst abroad although at this stage this really isnt my primary objective. Although I believe I could achieve this through apple remote desktop.
    I suppose I should provide some information with regard to the required speed of the system...I regularly open 50-100 photos at the same time totalling around 250-500MB. I would like the system to be able to handle this fairly easily.
    I have been trawling through forums and to be honest they are totally confusing me. I have also spent time on the phone to the apple business team and have also discussed my objectives with a member of the apple team in store.
    There have been various options advised to me and I really do not know which is the most appropriate route forward.
    1 - Using a mac mini as the file server and linking the 2 mac devices to this and backing up the mac mini to an external hard drive to ensure no loss of data.
    2 - Using a time capsule as a file server and linking the 2 mac devices to this and backing up the TC to an external hard drive to ensure no loss of data.
    3 - Using the new mac hard drive and linking the 2 macs via thunderbolt (old mac does not have thunderbolt and so I guess I would need another new mac?!) and then backing up the data to a time capsule.
    4 - Using a RAID based server and linking the 2 no. macs.
    Sorry to ramble but any advice really would be greatly received!

    Hi sblemings,
    Welcome to the community.
    I think with your scenario you should ask yourself, how complicated do you want the setup to be and how much time would you have to be able to resolve an issue should one occur with this setup.
    All the options that have been advised would work but they come with complexity and therefore time.
    1 - Using a mac mini as the file server and linking the 2 mac devices to this and backing up the mac mini to an external hard drive to ensure no loss of data.
    2 - Using a time capsule as a file server and linking the 2 mac devices to this and backing up the TC to an external hard drive to ensure no loss of data.
    3 - Using the new mac hard drive and linking the 2 macs via thunderbolt (old mac does not have thunderbolt and so I guess I would need another new mac?!) and then backing up the data to a time capsule.
    4 - Using a RAID based server and linking the 2 no. macs.
    Sorry to ramble but any advice really would be greatly received!
    option 1
    Would be a way to achieve what you want, it would centralise your files and you would only need to backup your file server (as long as all the files you wanted backed up were on it). This could be achieved either using the client and sharing various folders or using Server which would give you more options than you would possibly need.
    option 2
    This is exactly like option 1 except that you wouldn't have to administer another mac however you may limit any future growth.
    option 3
    This option I probably wouldn't pick, you could achieve this with firewire and use a firewire to thunderbolt adapter (saves you having to buy a new iMac)
    option 4
    This option would, depending on your RAID level, give you disk redundancy but remember you would still need to back this up, as RAID is NOT a backup solution.
    I would also ask is there a pressing need to keep the old iMac in service and complicating things by having a server / NAS? Could you not just transfer all your information over to this and continue with the one backup? I would say that doing it this was would be the simplest way of achieving what you want from what I can take from your question.
    As for remotely accessing your data, if you have the right hardware the way to achieve this would be to use a VPN and connect back to your data. However a potentially easier way for you ,would be to use a service like logmein or teamviewer to connect back.
    Hope this helps, and by all means any questions please ask.
    Dan
    How to set up a basic file sharing server for my small architectural business?

  • How to set Icon on MenuItem

    How to set icon on MenuItem, but not in JMenuItem?

    saleemtol003 wrote:
    You are right.It's not possible to set icon on menuItem.
    I am talking about SystemTray in which I added PopupMenu with MenuItem.
    but I need MenuItem with icon.Is there another way to solve this problem?Nope, just because you're adding a PopupMenu to a TrayIcon does not change the fact that MenuItems cannot have icons.

  • How to set default value to date type attribute.

    Hi,
    How to set default value to date type attribute.
    E.g I want to set u201C01/01/1999u201D to date attributes.
    First i want to set value and then i want to fetch the same & want to check equals.
    please suggest solution.
    Regards,
    Smita

    Hi,
    In wdinit() method u can set the date
    DateFormat df = new SimpleDateFormat("MM/dd/yyyy");
    Date today = Calendar.getInstance().getTime();
    String reportDate = df.format(today);
    wdContext.currentContextElement().setFromDate(reportDate);
    Another way you have set the this formate like that
    1. Create a Simple type under "Dictionaries->SimpleType" called DateFormat
    2. Select the type as "date"
    3. Go to the "Representation" tab and set the format as "dd/MM/yyyy" (or whatever u want, but month should be MM)
    4.Bind the context attribute to the type created now.
    Hope this helps u.
    Best Regards
    Vijay K

  • How to Set JFilechooser to show file with the same extension in the filetyp

    How to Set JFilechooser to show file with the same extension in the filetypes??
    help

    I also don't understand, but if you mean how to display only files with a certain extension in your JFileChooser then you should have a look at the JFileChooser API:
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFileChooser.html
    The introduction shows an example of how to do that.

  • Screen shots  - how do I change the default file type

    Screen shots using command, shift, 4: I used to get pdf files from the screen shot command, now I get PNG files. How do I change the default file type from PNG to PDF? PNGs are a pain.

    Also, there are utilities like OnyX that will change the screenshot settings.
    But this AppleScript is my favorite.
    Screenshot Settings 1.1 <http://scriptbuilders.net/files/screenshotsettings1.1.html>
    About:
    This application is a GUI method for changing the screenshot (screen capture) settings in Mac OS X v10.4 (Tiger).
    Note that you can also drag-n-drop a folder onto this application to change the default location.
    Tom

  • How do I open a PSA file type in Photoshop Elements 12

    How do I open a PSA file type in Photoshop Elements 12

    A file with a .PSA extension is most probably a catalog file from an older version of Elements (up to PSE5). To be able to use it with a newer version (including PSE12), you'll have to convert the catalog to the new format. In the organizer, open the 'File' menu, select the catalog manager (shift Ctrl C) and click the convert button, browse to the .psa file. Your catalog will be converted to the new format.

  • Change all icons of a file type in Yosemite?

    Hello,
    I just upgraded from a early 2011 MBP running Mavericks to a new Retina MBP running Yosemite. I did not use Migration Assistant as I wanted a fresh start and instead have copied over all of my data from a clone manually. I use Parallels 10 to run a Windows 7 VM to run some software, including MS Office, etc. Since my upgrade, all of my Office file icons (.docx, .xlsx, etc.) are the generic white/gray page with the turned down upper-right corner. I set the default program for all to be the correct application within my VM, but now would like to change the file icons for all files of a type to something more meaningful. Somehow, I had that on my previous MBP, but can't remember how that happened... Without having to individually change each icon for 10,000+ files, is there an easy way to batch change all Excel file types (.xls, .xlsx, .xlsm, .csv, etc.) to a single icon?
    Thanks in advance.

    Same thing happening to me.  I've fixed disk permissions, for what that's worth.  Still have generic icons for office docs.  It's always something....

  • Iconic buttons - does file type in Forms 6i have to be .ico?

    In Forms 6i, does the file type for an icon to be displayed on a button have to be .ico? We are thinking of having our buttons re-done by a design firm and will be going to Forms 9i sometime next year. It would be nice if we could use the same files for 9i as we need right now for 6i.
    I have some other questions too from our marketing guy:
    1) I'm asking a design firm for a quote to convert them from button-looking 1980's things to Windows-looking icons. When the user mouseovers the icon, it would appear as a button (like in all MS apps), and when they have no use, they would appear greyed out. Does Oracle support the mouseover state?
    2) Can you put a grey pipe between groups of similar icons, like in MS apps?
    3) Any special concerns or issues with having icons with the word appearing to the right of the icon ?
    4) How about the grey line that appears under the menu names and on top of the toolbar icons (the separator line) - can you paint that line in Oracle Forms 6i? What about 9i?
    Thanks.

    All of my answers apply to 6i as we haven't used 9i yet...
    1) Yes for menu toolbar buttons. Don't know otherwise. If you run the forms over the web (i.e. not client/server), and you set the application's "lookAndFeel" property in 9iAS to the correct value ("generic" I think), then each button will be grey until you fly the mouse over it. If you use the "oracle" lookAndFeel, then the buttons are always colored, and you get fly-over text when you park the mouse over a button.
    2) Yes. If you put the toolbar icons in a menu (.mmb/.mmx) module then you can group them between "separator" menu items. Be sure to set the properties so that they appear in the toolbar.
    3) I don't know if that's possible for toolbar icons. For regular buttons in a form, I believe you have to paint the text in the button icon.
    4) If you use the "oracle" lookAndFeel, then the toolbar is visibly separated from the menubar. If you use "generic", then the menu and toolbar share a common grey area.
    Best Regards,
    Brian

  • How can I change the default "file type" in the open file dialog when using Firefox on certain web pages?

    I work for a bankruptcy attorney. We use the Court's file upload to file our documents. When I am on the Court's site and I have to pick a file to upload, the "open file" dialog box pops up. In Firefox, the default "file type" is always "image" files. I need it to be "all files". How can I change this setting?

    Two observations.
    First — "Tools-> ...." is specific to Acrobat X and XI. It did not exist prior to Acrobat X.
    Second — Acrobat 9 Pro / Standard (nor earlier release) does not support viewing a PDF page containing a scanned image and performing a right-click  ... Save Image As. 
    The context menu provided by Acrobat 9 Pro with a right-click on a scanned image is:
    The context menu,from a right-click with the TouchUp Object tool selected, for Acrobat 9 Pro is:
    So, to paraphrase what Paul Harvey used to say ... What's the rest of the story?
    Be well...

  • How to skip line for delimited file type?

    Hi, i wanna ask how to skip (example: the first two line) for delimited file type?
    Thanks...
    Here is my script
    Function NY_Skip06Center [strField, strRecord]
    ' FDM DataPump Import Script:
    'Created by: FDM_Admin
    'Date created: 2/28/2006
    Dim strEntity
    'Check first two characters of entity
    For strEntity = 1 to 6
    'Skip line
    Res.PblnSKip = True
    Next strEntity
    End if
    End Function
    But it returns this error when imported
    Error: An error occurred importing the file.
    Detail: Object variable or With block variable not set
    Anyone knows what's wrong
    Edited by: user649207 on Mar 19, 2010 2:15 AM
    Edited by: user649207 on Mar 19, 2010 3:04 AM

    strAcc = DW.Utilities.fParseString (strField, 1, 1, chr(9))
    I didn't look closely enough last time. The above is illogical. The parsestring function parses a string based on a delimiter.
    The function has these arguments:
    String to Parse
    How many fields are in the string
    The parsed field to return
    Field delimiter
    In the above, strField is returning the field specified in your import format. You are also saying that there is a total of 1 field. If that were the case, you wouldn't need to parse anything.
    I am guessing that your call needs to look something more like this:
    strAcc = DW.Utilities.fParseString (*strRecord*, *8*, 1, chr(9))
    Make sense?
    If not, maybe you can include a few sample lines from your data file and that will make it easier to help you.
    Is your import format fixed or delimited?

Maybe you are looking for

  • User cancelled request error

    Have a feeling this has been discussed before, but couldn't find anything that worked. When I try to start a video chat with a friend, I get the message that the user cancelled the request, even thought it was accepted. Both of us were able to succes

  • ADLINK PXIe-3985 Controller - NI PXIe-1062Q Chassis Compatibility

    Hello forum members! we recently purchased  a PXIe-3985 ADLINK PXIe Embedded controller to be installed in a NI PXIe-1062Q PXIe chassis. In our system is also present a NI PXIe-6672 Timing Module, installed in the chassis timing slot (4). Windows 7 i

  • Business-use-cases for SAP BusinessObjects BI in Sports

    Hello, I have been scouring various SAP resources to find any information on SAP BOBJ in Sports and Entertainment. Do you know of any specific use-cases where BOBJ can help professional sports team franchises, specifically within the Finance LOB? I.e

  • Having trouble Installing OS on New Hard Drive

    I just tried to Install OS X on my new Seagate Momentus 7200.3 HD with the install disk that came with my new MBP. When I get to the prompt where it asks where you would like to install OSX no drive location is showing up. Can anyone help me? Thanks!

  • Exchange Queue issues

    Hi we have 2 Exchange 2010 servers out of which one has a Mail Queue issue. whenever we view queue viewer through console or through shell with Get-queue, we get error like "Exchange can't connect to the mail queue check the transport service is star