472,328 Members | 1,131 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

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 60208
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*******@yahoo-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*******@yahoo-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.com...
On Sat, 29 Jan 2005 11:49:54 -0800, "Mike Turco"
<mi*******@yahoo-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*******@yahoo-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.com...
On Sun, 30 Jan 2005 16:41:06 -0800, "Mike Turco"
<mi*******@yahoo-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*******@yahoo-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*******@yahoo-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.com:
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
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...
72
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...
4
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...
4
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...
1
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...
2
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...
1
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....
13
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...
0
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...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.