Registering the file format with the system

Hey,
I have a program which saves files using objectstream.. How can register the new format with the operating system so that it knows which program to use to open it.. Can any one help me with this..

i want this to be platform independent... Is it possible to do it in java.. Or may be some tool to make the java program installable... Is it possible????

Similar Messages

  • Trying to copy a 10gb file to a memory stick but theres an error msg file to large for the file format of the stick. is there a way around this

    trying to copy a 10gb file to a memory stick but there's an error msg, file to large for the file format of the stick. is there a way around this

    If you use 'Disc Utility' you can format the stick (this will erase its contents) to be exFat which will still work with Mac and Windows but allow a larger file sizes to be placed onto the stick.
    Disc Utility > Click the drive on the left > Erase (tab) > Change format to ExFat > Erase > Try putting the file on to the stick again.

  • Regarding the File Format on the application server

    Hi,
    I would like to know the file format (ANSI, UTF-8, UTF-16, UTF-32) of the file placed on the application server in my program. Can anyone help me with the Function Module or Class or any other way which will retrieve this information.
    Thanks
    Sarves S V K

    Hi
    You can try the standard class CL_ABAP_FILE_UTILITIES and the method
      CALL METHOD cl_abap_file_utilities=>check_utf8 
        EXPORTING 
         file_name = filename 
        IMPORTING 
         bom       = file_bom 
         encoding  = file_encoding. 
    Check the possible values returned by encoding and BOM:
    NO_BOM
    BOM_UTF8
    BOM_UTF16_BE
    BOM_UTF16_LE
    ENCODING_UTF8
    ENCODING_7BIT_ASCII
    ENCODING_OTHER

  • While importing, how do I save the file name with the artist in it?

    Currently when Itunes imports any cd, it imports it with the song name only, and put it in a folder with the artist name. I would prefer the tracks to be named 'Artist - Song.mp3'.
    Any idea how I can do this? It's driving me crazy. I need to rename all the imports with the artist on the file name.
    Thank you!
    I have itunes 6

    Anyone have any suggestions for this problem? I have the same issue. I have iTunes for Windows, so Doug's AppleScripts for iTunes is not an option.

  • If i restore a user folder from time machine. is it just restoring all files associated with the user or programs also?

    If i restore a user folder from time machine, is it just restoring the files associated with the user or programs as well? Im asking because Apple Store just reset my system and said to restore files i needed and not to do a full restore. to try and determine if it was a software issue causing the problems.

    Just the user's folder. Nothing else. See Pondini's TM FAQs, for details.

  • Excel cannot open the file 'file.xlsx' because the file format

    Every now and then, when I try opening an Excel file, I get a message saying that "Excel cannot open the file 'file.xlsx' because the file format or the file extension is not valid. Verify that the file has not been corrupted and that the file extension
    matches the format of the file.

    Hi,
    Which Excel version are you using? As far as I know, this issue is caused by malware on the affected machine.There are now two known variants of malware which causes this problem: Win32/Crilock.A and
    Win32/Buma!rts. They have both been identified as a new family of ransomware.
    We'd better clean your machine, run Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx).
    For more detail information, please refer to the following link:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Windows 8.1 System Image Backup - Unable to backup to network share due to unsupported "version of the file format"

    I have a Windows 8.1 Pro 64 bit system that I am trying to make a system image backup via Windows 8.1's System Image Backup feature.
    The backup destination is a network share, but the image creation is failing with the following error: 
    The version does not support this version of the file format
    After some investigation, it appears this is due to the network share (a Netgear BlackArmor NAS 220)not
    supporting sparse files. The consensus out on the web seems to be that your smb.conf file on the NAS needs to have strict allocate = yes added, in order to support sparse files. However, as far as I can tell with the BlackArmor NAS
    220, there is no way to edit the smb.conf file (and I'm not even 100% positive they're running Samba--but I bet they are).
    Some more searching revealed another possible option here: 
    If you don't need to exclude files from your backup, use the "-allcritical" option in your command line. AS IN:
    wbadmin start backup -backupTarget:\backup1\backupdrive1\ -include:c: -user:administrator -password:xxxx -systemState -vssFull -allcritical -quiet
    This changes it to Block backup and gets rid of the error.
    I'm trying to do a complete backup, so no exclusions are wanted or needed. So, i tried this, and got the exact same error (only this time it was on the command line, rather than a GUI dialog).
    Is there any way to do backups to a network share that doesn't support sparse files via Windows 8.1's System Image Backup facility?
    Alternatively, is there a way to enable the strict allocate = yes on a BlackArmor NAS 220?

    Hi,
    When using BackupAssist to perform a backup from a Windows file system to a Linux (ext4 or XFS) file
    system, the backup can fail if the following conditions apply.
    The backup is running a system protection job to the Linux based NAS. 
    The Linux NAS has sparse file allocation turned on.
    These two contition can cause the problem like yours.
    You can refer to the document which also contains an solution for further details.
    http://www.backupassist.com/downloads/resources/sparse_file_system_compatability.pdf
    Roger Lu
    TechNet Community Support

  • Is there the way to use "Highlight File Format" with Acrobat Reader 9.0 or later?

    hi
    Do anyone know the way to use "Highlight File Format" with Acrobat Reader 9.0 later or substitutional way to highlight a PDF file as well as highlight file?
    I want to highlight some words by indicating character's location(from n to m) using Acrobat Reader 6, 7, 8, and 9.
    I use highlight xml file to highlight words in Acrobat 6, 7, and 8.
    http://www.adobe.com/devnet/pdf/pdfs/HighlightFileFormat.pdf
    According to this documents, "External Window Handler Plugin" is required to use highlight file.
    But I cannot find this plugin in Acrobat Reader 9.
    So Acrobat Reader doesn't recognize highlight file.
    Well, I know that there is another way to highlight pdf file. It is called "PDF Open Parameters".
    However this parameters cannot indicate location of characters but words which is to be searched.
    This parameter does not work perfectly to substitute a highlight xml file.
    To satisfy what i want to do, the best solution is that Acrobat Reader 9.0 recognizes highlight xml file.
    But I think it is impossible because of lack of plugin.
    Do anyone know the way to recognize a highlight xml file to 9.0 or another way to highlight some words?
    thanks,
    Asatamax

    The feature is disabled by default in reader 9
    (1) Open Adobe Reader
    (2) Click Edit > Preferences > Search, and
    (3) check the box labelled Enable search highlights from external highlight server.
    (response found here: http://support.dtsearch.com/dts0117.htm)
    I can't imagine why Adobe choose to disable it. It's a bad joke for us at UNESCO (http://unesdoc.unesco.org)

  • Can we save our canvas as a .psd(photoshop) file? as we are saving with .jpg or .png format with the

     
                   I have 2-3 image in my canvas and i want to save it in .psd format means each image will act as a different layer when we will open the saved file in                  photoshop.
                    Thanks & Regards,
                    Parth

    no dear there is not any option as u suggested.
    rightnow i am using my canvas and making the bytearray of it and then I am saving this bytearray  with .jpg/.png format with the JPEG/PNG Encoders. but what it does? It makes a single .jpg file of canvas so if there are 3 images in it than it will save entier canvas as .jpg.
    I want to save each image as different layer and finally the canvas should be save in .psd format show i can open that .psd file in photoshop..
    thanks for the replies
    Thanks and Regards,
    Parth

  • HT3775 Is the Codec listed adjacent to the file format the Codec used with that file format?

    Is the Codec listed adjacent to the file format the Codec used with that file format?

    Is the Codec listed adjacent to the file format the Codec used with that file format?

  • What file format are the transparent images on "Get Started with Pages"?

    I can not figure out the file format used for "Masked"/"Clipped"/"Transparent"/"Outlined" images on "iPad Page"s such as the "Butterfly"or "Giraffe". I have tried using Transparent PNG files but they do not work. I was thinking of using Transparent Tiff or PSD files but I thought I would see if anyone knew the answer first.
    Thanks,
    Ryan.

    Glad to hear it worked for you.
    I think the issue is that before iPad, the iPhone OS did fine saving everything as a JPG. And I'm sure most users of Pages for iPad will never have need of dealing with a transparent PNG. It's those that are using these apps to push the bounds that see the possibilities and get somewhat frustrated with the workarounds.
    Your feedback to Apple would be helpful in future changes.

  • HT3775 why can i not open the file format MPEG_4(mp4) on my mac with Quick player?

    i can not open the email with file format MPEG_4(mp4) which is one of the contents on the file format listing , supporting by Quick time player but still can not be opened . !!!!!!!!! by the way my quick time player version:10.2(603.6)

    The file extension, .mp4, .wmv, .mov, etc. really has no bearing on whether it can play or not. It should, but that is not the way it works. The file type is merely a wrapper around the media content. That media content can be encoded with lots of different encoding algorithms. If it is encoded with a scheme that Quicktime doesn't understand, then it won't play in Quicktime Player.
    You might try installing the Perian plugin for Quicktime. It might have the codecs necessary to decode the media content.
    Another option is to use Video LAN's VLC. It plays a lot of things.

  • Can we change the default file format 'BIN' of system to 'ASC' using table

    can we change the default file format u2018BINu2019 of system to u2018ASCu2019 using table TSOPE
    if possible:will it affect any system performance

    Hello Vincent,
    BIN(Binary) is default selection.and so we have to select ascii.to make myself more clear my queries is like:
    first for setting ascii what we need to enter in text box that is against ASCII.and
    secondly if we select ASCII will it affect system performance in anyways.

  • Yesterday i made some purchases in itunestore. the download went well. till the synch of itunes with ipod. some of the downloaded music did noch synchronize. the message was: the ipod does not support the file format (mp4). strange, right?

    Yesterday 20 november I have made some purchases in Ittunestore. The download went well. Till the synch of itunes with ipod. Some of the downloaded music did noch synchronize. The message was: the ipod does not support the file format (mp4). Strange, right? All the rest of downloaded music items has been synchronised without any problems. What may be the problem?

    For music files purchased via the iTunes Store, Apple has used the following file extensions -
    .m4a unprotected AAC format music files
    .m4p protected AAC format music files
    .m4b protected Audio Books
    .m4r unprotected ringtones in AAC format
    As you can see Apple have never used .mp4 for music files via the iTunes Store.
    For videos Apple use .m4v and these are in H.264 format.
    You could try changing the file extension to .m4a, first then see if it plays on your computer and then try re-synching it.

  • Bought Canon FS400 videocam with digital storage.  iPhoto says cannot recognize the file format.  Any ideas?  Thanks so much!

    Bought Canon FS400 videocam with digital storage.  Tried to import, but iPhoto says cannot recognize the file format.  Any ideas?  Thanks so much!

    Can you access the material with iMovie?

Maybe you are looking for