473,695 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can you stuff data into a word doc w/o word?


I've inherited a report that is > 100 pages long, most of it is typewritten
and doesn't change. The ideal situation would be to insert the data into
fields in a word doc.

The issue is that this project is being distributed to some machines with
the run-time. Do you have to have word on a computer in order to stuff data
into a word doc?

Thanks,

Nov 13 '05 #1
8 60312
Oh (duh), I can distribute the word viewer too...
Nov 13 '05 #2
On Sat, 29 Jan 2005 12:03:11 -0800, "Mike Turco"
<mi*******@yaho o-no-spam-4-me.com> wrote:
Oh (duh), I can distribute the word viewer too...


You can't use the Word viewer to write data to a Word document, right?
Nov 13 '05 #3
On Sat, 29 Jan 2005 11:49:54 -0800, "Mike Turco"
<mi*******@yaho o-no-spam-4-me.com> wrote:

I've inherited a report that is > 100 pages long, most of it is typewritten
and doesn't change. The ideal situation would be to insert the data into
fields in a word doc.

The issue is that this project is being distributed to some machines with
the run-time. Do you have to have word on a computer in order to stuff data
into a word doc?

Thanks,


Thre are now XML versions of the MS Office document formats. You can use the
MSXML2 libraries to manipulate XML documents. If you have a Word Document
file containing the fields you want, saved in XML format, and distributed with
the application, you should be able to use MSXML to locate the field tags, and
replace the text content within them.
Nov 13 '05 #4


"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:tn******** *************** *********@4ax.c om...
On Sat, 29 Jan 2005 11:49:54 -0800, "Mike Turco"
<mi*******@yaho o-no-spam-4-me.com> wrote:

You can't use the Word viewer to write data to a Word document, right?
Its just to allow the user to see/print the doc, and can be included with
the runtime.

Thre are now XML versions of the MS Office document formats. You can use
the
MSXML2 libraries to manipulate XML documents. If you have a Word Document
file containing the fields you want, saved in XML format, and distributed
with
the application, you should be able to use MSXML to locate the field tags,
and
replace the text content within them.


That's a good suggestion. Something else I could do would be to format a
nice report using Front Page, in HTML, and basically do the same thing.

Thanks,

Mike


Nov 13 '05 #5
On Sun, 30 Jan 2005 16:41:06 -0800, "Mike Turco"
<mi*******@yaho o-no-spam-4-me.com> wrote:

....>
Thre are now XML versions of the MS Office document formats. You can use
the
MSXML2 libraries to manipulate XML documents. If you have a Word Document
file containing the fields you want, saved in XML format, and distributed
with
the application, you should be able to use MSXML to locate the field tags,
and
replace the text content within them.


That's a good suggestion. Something else I could do would be to format a
nice report using Front Page, in HTML, and basically do the same thing.


Especially if the page was strict XHTML, which MSXML could manipulate without
any other pre-processing.
Nov 13 '05 #6


"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:dq******** *************** *********@4ax.c om...
On Sun, 30 Jan 2005 16:41:06 -0800, "Mike Turco"
<mi*******@yaho o-no-spam-4-me.com> wrote:

...>
Thre are now XML versions of the MS Office document formats. You can
use
the
MSXML2 libraries to manipulate XML documents. If you have a Word
Document
file containing the fields you want, saved in XML format, and
distributed
with
the application, you should be able to use MSXML to locate the field
tags,
and
replace the text content within them.


That's a good suggestion. Something else I could do would be to format a
nice report using Front Page, in HTML, and basically do the same thing.


Especially if the page was strict XHTML, which MSXML could manipulate
without
any other pre-processing.


What is MSXML? Are there objects I can deal with in Access? Are there built
in commands to search out these tags and substitute data? I'm using 2002, is
there any difference in these regards in 2003? -- Mike


Nov 13 '05 #7
On Sun, 30 Jan 2005 20:16:07 -0800, "Mike Turco"
<mi*******@yaho o-no-spam-4-me.com> wrote:


"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:dq******* *************** **********@4ax. com...
On Sun, 30 Jan 2005 16:41:06 -0800, "Mike Turco"
<mi*******@yaho o-no-spam-4-me.com> wrote:

...>
Thre are now XML versions of the MS Office document formats. You can
use
the
MSXML2 libraries to manipulate XML documents. If you have a Word
Document
file containing the fields you want, saved in XML format, and
distributed
with
the application, you should be able to use MSXML to locate the field
tags,
and
replace the text content within them.

That's a good suggestion. Something else I could do would be to format a
nice report using Front Page, in HTML, and basically do the same thing.


Especially if the page was strict XHTML, which MSXML could manipulate
without
any other pre-processing.


What is MSXML? Are there objects I can deal with in Access? Are there built
in commands to search out these tags and substitute data? I'm using 2002, is
there any difference in these regards in 2003? -- Mike


MSXML is a library that's installed if IE is installed. In the Access VBE,
select Tools -> References, and scroll down until you see "Microsoft XML,
v3.0" (I see it's up to v3 now). Check the box next to it, and you can use
the library in your program. To see what objects and methods are available,
go to the Object Browser (F2 from the VBE), and choose the library from the
drop-down in the upper-left. You can find documentation for the MSXML API on
msdn.microsoft. com (oh - looking there, I see they're up to v4).
http://msdn.microsoft.com/library/de...l/xmmscXML.asp
Nov 13 '05 #8
On Jan 31 2005, 03:10 am, Steve Jorgensen <no****@nospam. nospam> wrote in
news:6m******** *************** *********@4ax.c om:
You can find documentation for the MSXML API on
msdn.microsoft. com (oh - looking there, I see they're up to v4).


The one that comes with Office 2003 is labeled v5.

--
remove a 9 to reply by email
Nov 13 '05 #9

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

Similar topics

0
1286
by: Matt W | last post by:
Hi all, I'm planning to use MySQL's full-text search for my forum system (possibly 5+ million posts). I've been playing with it a lot lately to see the performance and functionality and have some suggestions/questions. First, since a few of you may be wanting to know, here is a thread where I was doing some speed/optimization tests and stuff with 3 million posts: http://www.sitepointforums.com/showthread.php?threadid=69555
72
5408
by: Mel | last post by:
Are we going backwards ? (please excuse my spelling...) In my opinion an absolute YES ! Take a look at what we are doing ! we create TAGS, things like <H1> etc. and although there are tools (dreamweaver and the like), they are all at the lowest level of programming (something like assembly as oposed to C++ etc.). These tools create "brain-dead" developers that constantly have to plough through tons of tags to do the simplest thing. ...
4
21480
by: Paolo | last post by:
Hello, I am trying to create a procedure to export my Access data to a word template. I would like to export data from two tables to a word file at the same time. My two tables are named CASES AND CLIENTS. The word (it is a template) is named MASTER To store data, I have created two forms named CASES and MASTER. Since both forms have a lot of fields, I have added the form CLIENTS as a SubForm on the form CASES.
4
2473
by: Dan | last post by:
I'm trying to creat a data structure, that can be either a integer, double, string, or linked list. So I created the following, but don't know if it is the data structure itself causing problems, or something I am doing in the rest of the program. This is the data structure. struct node { char type;
1
12249
by: John Welch | last post by:
I'm trying to use the Mergit() function from the MS Knowledge base article to merge data from a query or table in my Access 2000 mdb into an existing word merge document. Every time it runs it brings up the dialog "Confirm Data Source", and asks if I want to use OLE, DDE, or ODBC. If I say ODBC, it then asks me for the table name. If I do all that, the merge works correctly, but I don't want users to have to do all that. I thought the...
2
2868
by: Mux | last post by:
I am facing the following problem while exporting data to Word. The current implementation is as described below: I have a JSP file which has a link that enables you to export the data to Word. Clicking on the link invokes a javascript function: function showRTF() { var newWin = window.open("", "newWin","width=900,height=800%,scrollbars=yes,menubar=yes,resizable=yes,too
1
1448
by: ampeloso | last post by:
Hello, I have the following function: WORD calcChecksum(BYTE data, WORD length) When I get to i_data= (WORD*)data; the i_data becomes 6272. data, which is data is 128. Someone gave me this explanation: Sure but with the cast you pretend that you are pointing to a WORD, that means that you take both data AND data and vove it to an WORD.
13
3412
by: liujiaping | last post by:
Hi, all. I have a dictionary-like file which has the following format: first 4 column 7 is 9 a 23 word 134 .... Every line has two columns. The first column is always an English
0
2277
by: saijin | last post by:
I'm planning to call a list of data from an XML file but when I duplicate the content inside the <data></data> it is not showing anything Here's the ActionScript 3.0 import fl.controls.ComboBox; import fl.controls.TextArea; import fl.containers.UILoader;
0
8652
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9140
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8867
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8841
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7688
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6511
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5847
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3025
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2291
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.