Having problem in merging 2 msword files

hi all,
Is it possible to merge two msword .doc file as a one single file thru java?
pl ,I need the code if it is possible?
Is it possible?
Reply imme.................
[email protected]

Would be possible if you use a byte editor to see how a word file is put together. You would have to strip out information from file #2 and possibly modify bytes in file #1...so could be done but not easily.

Similar Messages

  • I having problems trying to download any files...

    hey im having problems trying to download all files, plz help, i get this message saying system.component.model.Win32Exception The system cannot find the file specified.... plz help me

    Check your Java install and use a different browser. Update both.
    Mylenium

  • HT204382 Hi, Ive just got myself a Macbook Pro, and Im having problems with sound on movie files. The format is wmv and they play OK on a windows 7 laptop, and Im trying to play them now on the MAC. The picture is OK , but no sound. I have Flip4Mac - no d

    Hi, Ive just got myself a Macbook Pro, and Im having problems with sound on movie files. The format is wmv and they play OK on a windows 7 laptop, and Im trying to play them now on the MAC. The picture is OK , but no sound. I have Flip4Mac - no diference

    Download and install the free VLC for Mac - that should work:
    http://www.videolan.org/vlc/download-macosx.html

  • Having problems opening an SSIS solution file

    I have to make some changes to an SSIS package that was last modified in 2009 by a person who has left the company.
    I am having problems finding a version of Visual Studio that will open the SLN file. I do not know how the package was originally maintained.
    Yesterday, I was able to right-click on the SLN file and select 'version selector', that opened the solution in VS 2005 without me having to select a program. I made some changes and saved, rebuilt and ran the package.
    Today when I try to open the SLN the same way, it displays the screen with the various VS version icons on it, but no VS 2005 listed!
    The bottom line, is I now cannot open the solution with any version of Visual Studio. If I can find another SLN file that will open, can I copy the modified dtsx file to that solution so all my work is not wasted? It took me 3 days work to modify this package.
    Can someone please help, my deadline for this task is TODAY.
    Here is the message I get if opening with VS 2005:
    Here is the message I get if opening with VS 2010:
    Here is the SLN file (It looks like it got modified because I'm pretty sure yesterday it said VS 2005 at the top):
    Microsoft Visual Studio Solution File, Format Version 11.00
    # Visual Studio 2010
    Project("{D183A3D8-5FD8-494B-B014-37F57B35E655}") = "HPAddress_ExportData", "HPAddress_ExportData.dtproj", "{7EB5909F-6836-4B23-A121-9F623FB1C932}"
    EndProject
    Global
     GlobalSection(SolutionConfigurationPlatforms) = preSolution
      Development|Default = Development|Default
     EndGlobalSection
     GlobalSection(ProjectConfigurationPlatforms) = postSolution
      {7EB5909F-6836-4B23-A121-9F623FB1C932}.Development|Default.ActiveCfg = Development
      {7EB5909F-6836-4B23-A121-9F623FB1C932}.Development|Default.Build.0 = Development
     EndGlobalSection
     GlobalSection(SolutionProperties) = preSolution
      HideSolutionNode = FALSE
     EndGlobalSection
    EndGlobal

    Hi AllTheGoodNamesWereTaken,
    Based on my test, if we open a solution file with lower version in a higher version Visual Studio (VS), it will use Visual Studio Conversion Wizard to update the solution to current version of VS. Then the solution file will also change to current version
    of VS. If we open a solution file with higher version in a lower version Visual Studio (VS), it causes an error that “The version number in the package is not valid. The version number cannot be greater than current version number”. And the solution file still
    use the original version of VS.
    So it seems that the original version of solution file is lower than or equal to VS 2010. Since the VS is backwards compatible, we should use a higher version of VS (VS2010 and later) to open the solution file. Notice that we need open the solution file,
    not the project file.
    Besides, we can also create a new SSIS project in a higher version of VS, then add the packages with “Add existing package” option from File System. Reference:
    https://www.blackbaud.com/files/support/guides/infinitydevguide/Subsystems/bbdw-developer-help/content/tkaddpackagefromexisting.htm
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I want to merge two msword files

    hi all,
    I am in the problem of merging two word docuements as one .I have to do it in java b'ce our tool is developed only java.I am in pressure to give a solution for this ....
    If any one know the solution for this........
    Send it to me imme................................
    Expecting ur replies.............
    babu.B
    [email protected]

    Thanks for ur reply.but the code i was trying is giving me some problem as it is merging only one file while i am trying to do with two files.the code i have written i am just sending it.u just go thru it.
    import java.io.*;
    public class test1{
    public static void main(String[] args) throws FileNotFoundException,IOException {
    try {
    FileInputStream fis = new FileInputStream("b.txt");
    FileInputStream fis1 = new FileInputStream("a.doc");
    FileOutputStream fos = new FileOutputStream("pq.doc",true);
    int i;
    while ((i=fis.read()) != -1) {
    fos.write(i);
    fis.close();
    int j;
    while ((j=fis1.read()) !=-1) {
    fos.write(j);
    fis1.close();
    fos.close();
    catch(Exception e){
    e.printStackTrace();
    Kindly let me know where the i missing or going wrong.
    as i know word documets will contain some information like header and footer with some stuff its not merging.how to over come this situation.
    plz help me out

  • ITunes / iPod having problems with lyrics in MP3 files and not with M4A ?

    Over the last two month (without this forum) I believed sometimes to be the only one having a weird problems with iTunes lyric format structure.
    Now after more than 50h of investigations interesting results appear.
    The field of trouble:
    a) People are not able to delete lyrics in iTunes
    b) People discover that iTunes and their iPod/iPhone do not show the same lyrics
    c) it seems that the lyrics of certain songs can't synchronised with the iPod
    d) it seems that the problem in iTunes can appear more than one times that itunes corrupts the contents of lyrics in a way that:
    e) the text structure is damaged, no more line breaks, no empty lines between text sections.
    After all my suspicion is: All of this trouble can be caused by one problem:
    iTunes (at least latest version 9.0.3 (15) has a -unkonwn- problem with the lyric-text structure in MP3-files. It seems that iTunes does not have the same problems if the file is in M4A-file format, created by apple-store files being downloaded, or CDs being converten in iTunes using the build in AAC-converter!
    Converting "infected" files (via AAC) to M4A are clean again (on iTunes and iPod) showing no more one of the trouble ahead. The ghost is eliminated. Everything synchronizes as it should be.
    And I for myself have to convert more than 3000 songs now... to ged rid of this nightmare.
    Now I'm very curious of You experiences. Can You confirm my suspicion? Or have You had similar problems with Your M4A-files too?
    - Best Regards ThomasK_DJ, south Germany

    Try this -> http://mp3val.sourceforge.net/ to verify and fix MP3 files.
    Also, it could be the version of the ID3 tags.
    Select a song in iTunes then go to iTunes menu Advanced -> Convert ID3 tags and select a different version and see what happens.

  • Having problem after I add a file to the time capsel

    i'm currently using my time capsel as a externa; hardrive only. I just updaded to snow lepard also. Here is the problem that i'm having, when i add a file initialy to the time capsule it does not let me open is to view it. The only things that i add are avi files, i have to play around with the file doing stuf like open with or resrting my computer and go back into the time capsule and them i can view the file. the error that i get is something like "item is being used the mac OS X and it can't be opened. Any help on this would be great.

    The Acrobat XI Family uploads to files.acrobat.com which is totally separate from the Creative Cloud storage area. Even though you can use the same AdobeID to access each service, files are not shared between them.
    There is currently no way to access your Creative Cloud storage area from within the Acrobat XI Family.

  • Trying to install snow leopard on my Macbook Pro.  After already having problems with Grey screen, blinking file with a question mark, etc.  Computer now says that one of the hard drives is failing.The "hitachi" drive says it's failing in disc utility.

    o.k.  So, I've been tinkering with several "self help" fixes for several days now with no positive results.  I'll explain my initial problems and then end with my most current situation.  In hopes that someone out there will have a good suggestion or possibly remedy for the issues i'm facing
    First, my problem started after my wife played a game on my macbook pro and the computer froze.  She went into a panic and decided to shut down via power button.  When computer restarted she got the blinking file/grey screen and that problem continued for a couple of days before I began using steps from various support topics from apple concerning the grey screen/blinking file folder.
    Ultimately, yesterday I decided to erase my Macintosh HD file as one tip suggested.  Following the brief online and on screen (via the process) tips that were there.  Once that was completed I attempted to reinstall snow leopard (my most current version on hand) into the pc. 
    At first, I thought this would work.  It looked promising.  But, after several hours the installation screen returned with failure.  I attempted to repeat.  And, even repair drives during this try and re-try process.
    Now, today, one of the drives..  "hitachi..." states that it's failing and is in red letters with no ability to repair via the disc utility screen.  The Macintosh HD drive shows that it's o.k. But, this drive is listed under the HItachi drive so I think that's where a problem might lay.
    So, I guess my question really revolves around.. What if anything can I do to get the hitachi drive back up?  (short of taking it to a repair facility and replacing.) 
    And, how on earth can i get my OSX back up to I have a laptop again. 
    Operating on a macbook pro here.  It's my lifeline.  Otherwise, I am using a Windows desktop that i'm not that fond of.  lol
    I'm trying to bring this 2006 laptop back to life.  Trying to avoid a rather expensive repair or the purchase of a new laptop.  Also expensive...
    Any help would be appreciated.

    Well, running on a 2006 model.  I did not have a startup disc.  Initially, it booted up on original software in 2006.  Since then, I've upgraded to 10.6 via a box set.  And, since then I think I popped it up to lion. 
    All I have on a disc is snow leopard.  And, I can't get farther than the setup screen due to hard drive.  I'm taking to a apple authorized repair store right now.  We'll see what they tell me .  I'm just going to weigh the cost of repair vs. buying new.
    Another bad, stupid thing is I had no means of backing up my stuff.  So, I might have lost things like music, vids, etc.  we'll see if they can recover.  If the cost is too much for repair I might just forget it and start over with a new system.  Just not sure at this point.

  • Having problem with playing audiobook .mp3 files

    I have downloaded some audiobook mp3 files. I can transfer them fine to the Ipod, but when I choose the file to play, it goes through all the steps right up to the playing of the mp3 file, then the backlight shuts off, the screen wipes out and the white apple logo comes on and reboots into the main menu screen list.
    As long as I continue to choose these audiobook mp3 files the Ipod will continue to reboot and not play the file.
    I have downloaded the same audiobooks on 2 different occasions, and the same thing happens. The files do play through the iTunes library list from my computer.
    Any ideas on how to solve this?? I don't have any problems playing any of the other audio book mp3 files that I have dragged and dropped onto the Ipod.

    http://docs.info.apple.com/article.html?artnum=304490

  • Having problems with launchd a plist file and launch on demand.

    First, my plist file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Debug</key>
    <true/>
    <key>KeepAlive</key>
    <false/>
    <key>Label</key>
    <string>TestApp</string>
    <key>OnDemand</key>
    <true/>
    <key>Program</key>
    <string>/Applications/Test/TestApp</string>
    <key>ProgramArguments</key>
    <array>
    <string>daemon</string>
    </array>
    <key>Sockets</key>
    <dict>
    <key>SockFamily</key>
    <string>IPv4</string>
    <key>SockPassive</key>
    <true/>
    <key>SockServiceName</key>
    <string>8585</string>
    <key>SockType</key>
    <string>stream</string>
    </dict>
    <key>WorkingDirectory</key>
    <string>/Applications/Test/</string>
    </dict>
    </plist>
    The idea is, if another app which I have tries to connect to 127.0.0.1:8585 that my test app will launch and do its stuff. The test app is the server and the guy making the call is the client.
    The plist file is located in "/Library/LaunchDaemons" and is owned by root and only readable by anyone but root. Similarly TestApp is only readable/executable by root and no one else can do anything. Finally TestApp is a C++ program not an actual application ie:TestApp.app/Contents/etc...
    If it were windows, it would be TestApp.exe.
    Anyway, when I invoke my other program, TestApp isn't launched. (I rebooted after I put the plist file in so it would be read). I know TestApp and TestClient can talk, if I run them both myself everything is fine. I just want to get launchd to do it on demand. There isn't a clear way for me to debug this because if there is an error, I do not know where to look to see it, if any such errors are reported. Syslog doesn't show anything of interest in this reguard.
    Any help is greatly appricated.

    Hello Mark:
    You are seeing a "normal" behavior, if this is the case on the load of a first report. Subsequent reports should be significantly faster. Only way to make the first load appear faster is to load the CR assemblies and dlls on app start. E.g.; load a fake report on app start. Unfortunately, those 20+ seconds will now move to the initialization / load of the app...
    Ludek
    BTW., downloading the latest Service packs is never a bad idea and may help a bit, but not 10+ seconds for sure.

  • Having problems opening up a raw file in photoshop elements 11

    unable to open a raw file in ps elements 11

    The EOS 70D was first supported in Camera Raw 8.2 which is only compatible with Elements 12.
    You won't be able to open Raw files from the 70D in Elements 11.
    Options:
    Upgrade to Elements 12
    Free: download the free Adobe DNG converter, convert all 70D Raw files to DNGs then open and edit the DNGs in Elements 11
    Photoshop Help | Digital Negative (DNG)

  • I am having problems donloading and editing .asx files

    I am trying to edit some video that can only be downloaded in .asx format. It is drm-ed. I may just have to contact the poeple I am partenring with that I need the original video files but I will need to do this with many of the cliebts that I am partnering with. Not only will it become a nuisance and make my business move as though stuck in the mud...it makes it hard for me to trumpet the relative merits of Apple anything electronic in the world if I have to get parralel or something so that I can run (gasp) Windows.
    Please help!
    If there is another section I should post this in let me know. i figured Fimal Cut would be where the most knowledgeable amble about.

    FCE is video editing application. ASX are not video files, they're metadata information. By the sound of it you haven't downloaded the video files at all. ASF is a Windows format used for streaming, not for download.
    The ASX Format
    ASX (Advanced Stream Redirector) files are not media files, but metafiles.
    Metafiles provides information about files. ASX files are plain text files used to describe multimedia content:
    <ASX VERSION="3.0">
    <Title>Holiday 2001</Title>
    <Entry>
    <ref href="holiday-1.avi"/>
    </Entry>
    <Entry>
    <ref href="holiday-2.avi"/>
    </Entry>
    <Entry>
    <ref href="holiday-2.avi"/>
    </Entry>
    </ASX>
    The file above describes three multimedia files. When the ASX file is read by a player, the player can play the files described.
    Advanced Systems Format (formerly Advanced Streaming Format) is Microsoft's proprietary digital audio/digital video container format, especially meant for streaming media. ASF is part of the Windows Media framework.
    The format does not specify how (i.e. with which codec) the video or audio should be encoded; it just specifies the structure of the video/audio stream. This is similar to the function performed by the QuickTime, AVI, or Ogg container formats. One of the objectives of ASF was to support playback from digital media servers, HTTP servers, and local storage devices such as hard disk drives.
    ASF is based on serialized objects which are essentially byte sequences identified by a GUID marker.
    The most common filetypes contained within an ASF file are Windows Media Audio (WMA) and Windows Media Video (WMV). Note that the file extension abbreviations are similar in name to the codecs of the same name but are different things.
    ASF files can also contain objects representing metadata, such as the artist, title, album and genre for an audio track, or the director of a video track, much like the ID3 tags of MP3 files.
    Files containing only WMA audio can be named using a .wma extension, and files of only audio and video content may have the extension .wmv. Both may use the .asf extension if desired.
    Certain error-correcting techniques related to ASF are patented in the United States (United States Patent 6,041,345 Levi, et al. March 21, 2000) by Microsoft. Although the format is publicly documented by Microsoft, its license limits implementations to closed-source development projects only. Apple's iTunes software (for Windows) now has the capability to convert WMA files to any iTunes-supported format.[1]
    The ASF container provides the framework for digital rights management in Windows Media Audio and Windows Media Video. An analysis of an older scheme used in WMA reveals that it is using a combination of elliptic curve cryptography key exchange, DES block cipher, a custom block cipher, RC4 stream cipher and the SHA-1 hashing function.
    ASF files have MIME type application/vnd.ms-asf or video/x-ms-asf. (Advanced Stream Redirector (ASX) files also have MIME type video/x-ms-asf.)
    ASF container-based media is usually streamed on the internet either through the MMS protocol or the RTSP protocol.

  • OBIEE 11g having problems with password protected PDF files.

    I have been able to get an analysis in OBIEE 11g to display PDF files.
    However, some of these documents contain sensitive information and must be secured. Since anyone with access to the file name
    could simply type in the proper path in the browser window, this is unacceptable. In order to try and prevent this, I created a pdf file
    that is protected with a password.
    Opening the file by itself, produces the desired results. The password is requested before the file will open.
    When I open the file through my analysis in OBIEE, Adobe reader activates, but the password is not requested and the file does not open.
    It is as if OBIEE is somehow not sensing that Adobee is asking for a password.
    Does anyone have any experience with this?

    FYI, in case anyone is interested, I found out what is going on.
    I created the original password protected PDF using Microsoft Word. I did this because I do not have a full version of Adobe Acrobat that allows me to create files.
    On a hunch, I found someone that has a full version of Acrobat, and had them create a password protected PDF file. This file worked perfectly.
    Apparently, Word is not strictly adhering to PDF guidelines, and OBIEE senses the differences, resulting in the file not opening properly.
    Something to keep in mind for anyone linking to password protected PDF files in OBIEE.

  • Having problem skipping something in .txt file

         File input = new File(fname);
         Scanner scan = new Scanner(inputFile);
         while (scan.hasNext())
         for (int i=0; i<10;i++)
              lang=scan.next();
                   for (int j=0; j<26;j++)
                   String trash=scan.next();
                   values[i][j]=scan.nextInt();
    is my code I have a language name and then the letters followed by a number after every letter. But before the start of a new language there is a "#" sign that im trying to skip over. it goes like this
    english
    a 1
    b 2
    c 3
    etc....
    french
    a 2
    b 2
    you get the point.

    you mean before this line
    lang=scan.next();How about this,
    File input = new File(fname);
    Scanner scan = new Scanner(inputFile);
    OUTER:while (scan.hasNext())
    INNER:for (int i=0; i<10;i++)
    lang=scan.next();
    if(lang.equals("#")
      continue OUTER;
    for (int j=0; j<26;j++)
    String trash=scan.next();
      values[j]=scan.nextInt();
    }

  • I keep having problems with .3ds and .obj files

    Any time I try to import a 3ds file I get errors saying I don't have enough RAM. DAE files say they can't parse. I have 8GB of RAM, so this seems unlikely. I've been looking all over for a solution to this.
    My ultimate goal is to take a MacBook Pro model into Photoshop for import into After Effects.
    For some reason it never works.
    I'm on a 2011 MacBook Pro i7 with 8GB of RAM. running 10.6.8
    Any help would be appreciated.

    I'm using CS 5 12.0.4 x 64.
    The model is from Google Sketchup.
    But I regularly have this issue. I'm an After Effects user, and will often bring in 3D objects to animate them. In this case, I want to bring in a MacBook Pro model.
    There isn't much in the way of instruction I've found for Live 3D. Is there a guide somewhere for how objects should be made? What settings should be used etc?
    After wasting most of a day on it, I finally got an obj setting to open but it doesn't display properly. Look at the original below, and how it looks in Photoshop. Any ideas what I can do to fix this? I'm a little under the gun.
    Thanks!
    Jason

Maybe you are looking for

  • I can't sync my iphone to itunes. It says not enough access privileges? Help please?

    I have a hp computer and I created another account on the computer so it's me and my mom's account. I been using my mom's but I want to sync it on my part of the computer and it says I don't have enough access privileges? I need help ASAP please?

  • SelectManyListBox is not working for Integer Objects in Jsf

    hi, In JSF selectManyListBox is not working with Integer objects it is working only with String Objects. It is showing the error "value is invalid" can anybody please send me sample code snippet regarding this.

  • How to find the name of message mapping

    Hi folks i want to check the name of message mapping  which is used at run time. i can find the name of Interface mapping name in trace of message in SXMB_MONI. but i am not able to find the MM name. can some one help me ..... Regards Gagan

  • Problem when trying to add a master-detail

    Hi all. I have customize a list in sharepoint with infopath. Now I want to add the master detail to this form. If I add a Web Part, from the list, no problems... I can create a filter between them and the master details works perfect. The problem of

  • Building OLAP 11g Cubes Tutorial

    I followed the tutorial [http://www.oracle.com/technetwork/database/options/olap/buildicubes-090657.html#o] all the way to the section of Mapping cubes to relational sources and I got stuck. Since the images / diagrams do not come up I was unable to