Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Transfer text data from MS Word to DB


Message #1 by "Graham Abrey" <design@t...> on Thu, 10 Jan 2002 01:25:12
Help,

I am trying to transfer MS Word documents onto the web but its not that 

simple. The client wants the text which are numerous news articles to be 

re colated onto the web. The text comes in two formats, BOLD for the 

headings and plain text for the body. Once I have seperated the data I 

can easily play around with it and place it onto the web.



Does anyone know how that I might use ASP to strip down the MS Word 

document and identify which is the Bold text from the standard text so 

that I can seperate the two?



I know that it would be easier to simply cut and paste the info into a 

form but the client needs something easy like select the document and off 

we go.



Thanks,

Graham
Message #2 by "Lewis, James" <James.Lewis@i...> on Wed, 9 Jan 2002 18:24:04 -0700
You might try exporting the word documents to HTML, then you can parse them

as a text files looking for the <bold> tags.... if you were really clever,

you might be able to use automation to start word and do the export on the

fly...



-----Original Message-----

From: Graham Abrey [mailto:design@t...]

Sent: Wednesday, January 09, 2002 6:25 PM

To: ASP components

Subject: [asp_components] Transfer text data from MS Word to DB





Help,

I am trying to transfer MS Word documents onto the web but its not that 

simple. The client wants the text which are numerous news articles to be 

re colated onto the web. The text comes in two formats, BOLD for the 

headings and plain text for the body. Once I have seperated the data I 

can easily play around with it and place it onto the web.



Does anyone know how that I might use ASP to strip down the MS Word 

document and identify which is the Bold text from the standard text so 

that I can seperate the two?



I know that it would be easier to simply cut and paste the info into a 

form but the client needs something easy like select the document and off 

we go.



Thanks,

Graham

 




$subst('Email.Unsub')






$subst('Email.Unsub').

Message #3 by "Graham Abrey" <design@t...> on Sun, 20 Jan 2002 22:35:23
Thanks fro your help.

I will trythis out.

Regards,

Graham



> You might try exporting the word documents to HTML, then you can parse 

them

> as a text files looking for the <bold> tags.... if you were really 

clever,

> you might be able to use automation to start word and do the export on 

the

> fly...

> 

> -----Original Message-----

> From: Graham Abrey [mailto:design@t...]

> Sent: Wednesday, January 09, 2002 6:25 PM

> To: ASP components

> Subject: [asp_components] Transfer text data from MS Word to DB

> 

> 

> Help,

> I am trying to transfer MS Word documents onto the web but its not that 

> simple. The client wants the text which are numerous news articles to 

be 

> re colated onto the web. The text comes in two formats, BOLD for the 

> headings and plain text for the body. Once I have seperated the data I 

> can easily play around with it and place it onto the web.

> 

> Does anyone know how that I might use ASP to strip down the MS Word 

> document and identify which is the Bold text from the standard text so 

> that I can seperate the two?

> 

> I know that it would be easier to simply cut and paste the info into a 

> form but the client needs something easy like select the document and 

off 

> we go.

> 

> Thanks,

> Graham

>  




> $subst('Email.Unsub')

> 




> $subst('Email.Unsub').

Message #4 by psinghp@e... on Mon, 21 Jan 2002 09:59:43 +0400
Hi Graham,



I am interested in the solution. I want to copy text between tags to display.

Please let me have the code once it works as suggested (automation).



TIA



Pepe





Subject: RE: Transfer text data from MS Word to DB



> From: "Graham Abrey" <design@t...>

> Date: Sun, 20 Jan 2002 22:35:23

> X-Message-Number: 3

>

> Thanks fro your help.

> I will trythis out.

> Regards,

> Graham

>

> > You might try exporting the word documents to HTML, then you can parse

> them

> > as a text files looking for the <bold> tags.... if you were really

> clever,

> > you might be able to use automation to start word and do the export on

> the

> > fly...

> >

> > -----Original Message-----

> > From: Graham Abrey [mailto:design@t...]

> > Sent: Wednesday, January 09, 2002 6:25 PM

> > To: ASP components

> > Subject: [asp_components] Transfer text data from MS Word to DB

> >

> >

> > Help,

> > I am trying to transfer MS Word documents onto the web but its not that

> > simple. The client wants the text which are numerous news articles to

> be

> > re colated onto the web. The text comes in two formats, BOLD for the

> > headings and plain text for the body. Once I have seperated the data I

> > can easily play around with it and place it onto the web.

> >

> > Does anyone know how that I might use ASP to strip down the MS Word

> > document and identify which is the Bold text from the standard text so

> > that I can seperate the two?

> >

> > I know that it would be easier to simply cut and paste the info into a

> > form but the client needs something easy like select the document and

> off

> > we go.

> >

> > Thanks,

> > Graham

> >




> > $subst('Email.Unsub')

> >




> > $subst('Email.Unsub').

>

> ---

>

> END OF DIGEST

>

>




>







  Return to Index