473,566 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading and writing word file

Raj
Hi ,

I am working on vb.net and word application automation application.

my question is :.

1. I want to save one file into another file ,
example.

a) my existing file name is "Raj.DOc" and containing some page.

b) and second file is "Raj2.DOc" it also containing some page.

c) So I want to Save "Raj2.Doc" file into "Raj.doc" file. with all the
page

Please help me out with code.

i will be very grateful to you.
Thanks and Regards

Raj Kumar Mishra
jcast Networks Ltd.
New Delhi.
India.
91-51678212,13,14
Nov 20 '05 #1
5 1305
Cor
Hi Raj,

Some links

Office
http://support.microsoft.com/default...b;EN-US;311452

Pia Download
http://support.microsoft.com/default...b;EN-US;328912
I hope this helps a little bit?

Cor

I am working on vb.net and word application automation application.

my question is :.

1. I want to save one file into another file ,
example.

a) my existing file name is "Raj.DOc" and containing some page.

b) and second file is "Raj2.DOc" it also containing some page.

c) So I want to Save "Raj2.Doc" file into "Raj.doc" file. with all the
page

Please help me out with code.

i will be very grateful to you.

Nov 20 '05 #2
Raj
hi,

Sorry this link does not have any solution which i am looking for.
So please help me out this trouble.
thanks
Raj
"Cor" <no*@non.com> wrote in message
news:uU******** ******@tk2msftn gp13.phx.gbl...
Hi Raj,

Some links

Office
http://support.microsoft.com/default...b;EN-US;311452

Pia Download
http://support.microsoft.com/default...b;EN-US;328912
I hope this helps a little bit?

Cor

I am working on vb.net and word application automation application.

my question is :.

1. I want to save one file into another file ,
example.

a) my existing file name is "Raj.DOc" and containing some page.

b) and second file is "Raj2.DOc" it also containing some page.

c) So I want to Save "Raj2.Doc" file into "Raj.doc" file. with all the
page

Please help me out with code.

i will be very grateful to you.


Nov 20 '05 #3
* "Raj" <ra******@jcast net.com> scripsit:
Sorry this link does not have any solution which i am looking for.
So please help me out this trouble.


Why not ask in the Word VBA group?

<news:microsoft .public.word.vb a.general>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
* "Cor" <no*@non.com> scripsit:
Some links

Office
http://support.microsoft.com/default...b;EN-US;311452

Pia Download
http://support.microsoft.com/default...b;EN-US;328912


Another link:

<http://msdn.microsoft. com/office/>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #5
Cor
Thanks

Added in my HKW system

:-)

Cor
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5940
by: Steve Bennett | last post by:
Can anyone suggest a good tutorial for reading and writing binary files in Perl or send me some tips or examples? I tried using pack and unpack and seek and read but things don't work as expected so I must be missing some subtle details. For example: I tried reading a .RAW image file (no header info) and writing it back out using seek...
8
18215
by: Phil Slater | last post by:
I'm trying to process a collection of text files, reading word by word. The program run hangs whenever it encounters a word with an accented letter (like rôle or passé) - ie something that's not a "char" with an ASCII code in 0..127 I've searched the ANSI C++ standard, the internet and various text books, but can't see how to workaround...
4
9816
by: Oliver Knoll | last post by:
According to my ANSI book, tmpfile() creates a file with wb+ mode (that is just writing, right?). How would one reopen it for reading? I got the following (which works): FILE *tmpFile = tmpfile(); /* write into tmpFile */ ...
4
12792
by: Erpman | last post by:
I am trying to access the data with in a wav file. I am testing with very small files in order to keep the code simple to start with. Basically, im writing the entire wav file to a byte using a fileStream. The problem is that when reading back the data word by word and printing the results on a general form, once the data chunk header has...
0
1145
by: R1gg4 | last post by:
Hi all, I currently have a VB.NET application that interfaces with Word 2003 to produce documents from templates substituting the data in the template to form the document. This is all working including substituting images. However it is very slow as it uses the Word Object model to directly control the word.searchreplace function. I...
6
5248
by: arne.muller | last post by:
Hello, I've come across some problems reading strucutres from binary files. Basically I've some strutures typedef struct { int i; double x; int n; double *mz;
9
2086
by: jerry.upstatenyguy | last post by:
I am really stuck on this. I am trying to write a string array containing a "word" and a "definition" to a class called Entry. Ultimately this will end up in another class called dictionary. No, this is not a homework assignment. In fact it was a question on my class midterm that everyone bombed. Unfortunately we never covered this in...
16
3726
by: Jm.GlezdeRueda | last post by:
Hi all, Im trying to read a 24bit bmp with fread, and i have some problems.. I want to read the whole structure in one time, but i dont know why, it only reads the first member well.. I have two questions.. 1- why if i change fread(bmp1, sizeof(bmp1), 1, fin); to fread(bmp1, sizeof(struct bmp), 1, fin); i have a Segment violation ??
3
3925
by: ahammad | last post by:
Well, the title pretty much describes what I want to do. I want to be able to read the contents of a Word document (*.doc). I also want to be able to read it to a CString object, and then search that CString object for specific substrings. The problem I am having is reading the Word file itself. I have tried numerous things but no luck. Also,...
19
2288
by: Hapa | last post by:
Does only reading (never writing) of a variable need thread synchronisation? Thanks for help? PS. Anybody knows a Visual C++ news group?
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8108
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.