Results 1 to 2 of 2

Thread: different MSWord version problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    California, USA
    Posts
    111

    Unhappy

    In my program, when the user selects a particular menuitem, Word opens up and display the file. Under project,reference I checked Microsoft Word 9.0 object library and it runs in Word 2000. My friend has an older version of Word, and therefore it crashes when he selects that menuitem when running the exe. How can I go to his project, reference and check MS Word 8.0 object library so he can run the exe? Thanks.

  2. #2
    Junior Member
    Join Date
    Aug 2000
    Location
    Girona
    Posts
    18
    I have the same problem whith a friend. I solve it using the create object.

    Instead:

    Dim wdDoc as Word.Document
    ...
    Set wdDoc = New Word.Document

    I use:

    Dim wdDoc as Object
    ...
    Set wdDoc=CreateObject("Word.Document")

    And do not mark the word object library. This method take a bit more of resources but this works whith any version of Word, only be aware whith the commands you use, there are some that works only whit some versions.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width