Re: Automation Question for WORD

From: emyron (myron123_at_adelphia.invalid)
Date: 12/02/04


Date: Thu, 2 Dec 2004 14:00:51 -0800

Dan, I finally received more information from my client. The message is
generated by my program. When the following line of code is executed , I
trap for an error (as a test to be assured WORD exists). In the case of
error, I issue a message stating WORD does not exist on this system ... etc.
     oWord=CREATEOBJECT("WORD.APPLICATION")
Apparently the createobject function cannot find "WORD.APPLICATION". I
would assume there is a register problem because the client indicates that
WORD (OFFICE 2003 version) exists. I'm not sure what register value(s)
have to be set in order to find WORD.APPLICATION. Any clues?
TIA
--E. Myron

"Dan Freeman" <spam@microsoft.com> wrote in message
news:%23SNVV8J2EHA.3504@TK2MSFTNGP12.phx.gbl...
> Each version of Word, much like each version of FoxPro, has had its own
> peccadilloes. In particular, the Word object model has been through some
> hefty revisions.
>
> I'm confused about him getting a "message saying it wouldn't work" .... is
> this coming from your code? Do you know what the message ACTUALLY says
> instead of "something like..."?
>
> I can see later systems clamping down on inter-application communications
> for security reasons. But that's the only thing I can really suggest
> without
> seeing some code for what you're trying to do and knowing the ACTUAL
> message.
>
> Dan
>
>
>
> emyron wrote:
>> I have an application in which I used Automation for WORD. This has
>> been working for years beginning with OFFICE 97 and then OFFICE 2000.
>> I recently received a message from someone who trying a trial version
>> of the application who indicated he received a message that the
>> program would not work with OFFICE 2003. There is nothing exotic
>> about my usage of Automation -- it just opens up an existing WORD
>> document and allows the user to edit and save it.
>>
>> Question: are there any known differences in OFFICE 2003 vs OFFICE
>> 2000 which would require changes in using WORD Automation commands?
>> I don't want to go out and buy OFFICE 2003 just to find out if it is
>> a problem with the customer's installation as opposed to a real
>> difference in the two products. TIA
>> --E. Myron
>
>



Relevant Pages

  • Re: Ininstalling RD
    ... Dan (Still going in circles) ... On an XP Pro box you can't uninstall the Remote Desktop host software. ... Is this failing from one specific client PC or from any client PC you try ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Ininstalling RD
    ... Dan ... On an XP Pro box you can't uninstall the Remote Desktop host software. ... Is this failing from one specific client PC or from any client PC you try ... The log in window comes up with the credentials in the appropriate ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Nigerian military to buy 15 subsonic planes from Czech Republic
    ... is okay by me .And my client ... Andrew Chaplin ... Dan, U.S. Air Force, retired ...
    (rec.aviation.military)
  • Re: Nigerian military to buy 15 subsonic planes from Czech Republic
    ... is okay by me .And my client ... Dan, U.S. Air Force, retired- Hide quoted text - ... You didn't see me Swiss targets? ...
    (rec.aviation.military)