You do not have to install word, only one DLL. Last time I wrote the code, I believe it was the word9.dll I used. Open it in object browser and view the classes. Copy it to your server. Register the DLL. Then use CFObject to control it.
That is the quick method, however for efficiency and scalability I usually write a DLL or EXE that references objects needed and does the work, then I just pass in the file name and my program opens the file and does any conversions it needs. Adobe also has DLL's you can use to dynamically create PDF's on their development site. However, the biggest thing you need to be aware of is that word is single threaded and is not made to run on servers. Microsoft has articles in the KB explaining this and samples on how to do it. If there is some new way to do this as I have been using this method since 1997, I would be interested in learning it as the DLL method takes a good bit of debugging time to get it right. Jacob -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Knipp, Eric Sent: Wednesday, April 20, 2005 7:16 PM To: 'list@dfwcfug.org' Subject: RE: Converting doc/rtf files to flash paper or pdf You would need to install Office, as far as I know. You might be able to just buy Word and install that. Its also possible that MS sells some kind of developer license to only use the underlying objects without the GUI, but I don't know too much about that. I have only experimented with this a little bit in the past. Here is a link that might give you more information: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbawd10/htm l/wotocobjectmodelapplication.asp -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matt Woodward Sent: Wednesday, April 20, 2005 7:10 PM To: list@dfwcfug.org Subject: Re: Converting doc/rtf files to flash paper or pdf Interesting--I wasn't aware this existed. What do you have to install on the server to get this to work (and I assume you would be limited to Windows server, correct)? Does the API ship with Office or is it something separate? On 4/20/05, Knipp, Eric <[EMAIL PROTECTED]> wrote: > No, I mean using the ActiveX objects that Office is built on to pull > the text and whatnot out of the Word doc on the server side, so that > you can then wrap it in a <cfdocument> tag. > > Eric > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Matt Woodward > Sent: Wednesday, April 20, 2005 5:19 PM > To: list@dfwcfug.org > Subject: Re: Converting doc/rtf files to flash paper or pdf > > Cool Eric--is this a new possibility with the new XML document formats > in the later versions of Office? And I assume Active-X means Windows > only, IE only right? Might not matter to some folks but I thought I'd > ask since if it's a public-facing app you might not have control over > the browser someone's using. > > Matt > > On 4/20/05, Knipp, Eric <[EMAIL PROTECTED]> wrote: > > > > You could do it using the MS office API. There are ways to pull the > various > > properties of a word doc out of it using the ActiveX objects that > > are part > > of Office. The same is true for RTF. > > > > Eric > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of > > Justin Cook > > Sent: Wednesday, April 20, 2005 4:58 PM > > To: list@dfwcfug.org > > Subject: Converting doc/rtf files to flash paper or pdf > > > > > > In our current project, we need to be able to allow users to upload *.doc > or > > *.rtf files and then we were wanting to display those using > > cfdocument and > > converting those into either flash paper or pdf's. Is this even possible? > > If so, how can you do it? And if not, does anyone have an idea how > > this > can > > be done? > > Thanks, > > Justin > > > > ________________________________ > > > > > > > > > > CONFIDENTIALITY NOTICE: The information contained in this e-mail > > and attached document(s) may contain confidential information that > > is intended > > only for the addressee(s). If you are not the intended recipient, > > you are > > hereby advised that any disclosure, copying, distribution or the > > taking of > > any action in reliance upon the information is prohibited. If you > > have received this e-mail in error, please immediately notify the > > sender and delete it from your system. > > -- > Matt Woodward > [EMAIL PROTECTED] > http://www.mattwoodward.com > ---------------------------------------------------------- > To post, send email to list@dfwcfug.org To unsubscribe: > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > To subscribe: > http://www.dfwcfug.org/form_MemberRegistration.cfm > > ---------------------------------------------------------- > To post, send email to list@dfwcfug.org To unsubscribe: > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > To subscribe: > http://www.dfwcfug.org/form_MemberRegistration.cfm > > -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com ---------------------------------------------------------- To post, send email to list@dfwcfug.org To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm ---------------------------------------------------------- To post, send email to list@dfwcfug.org To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm ---------------------------------------------------------- To post, send email to list@dfwcfug.org To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm