CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Office 2000

  1. #1
    Join Date
    Apr 2001
    Location
    Austria
    Posts
    25

    Office 2000

    Hi,

    following problem: i've written a vb program which opens word documents. i'm running win2000 + office2000. when a user, who has office97 installed, tries to execute the program, he'll get a dr. watson error message and the program closes. why doesn't it work ? can anybody help me ?


  2. #2
    Join Date
    Apr 2001
    Posts
    4

    Re: Office 2000

    Hi,

    It doesn't work because Office 2000 uses a higher version of object libraries. You're using "Microsoft Word 9.0 Object Library" and Office '97 uses version 8.0

    A possible solution: make a complete packet with all dll and ocx files! Use Package & Deployment Wizard from your Visual Basic Tools

    CU
    UU



  3. #3
    Join Date
    Apr 2001
    Location
    Austria
    Posts
    25

    Re: Office 2000

    Thank you very much for your answer.
    I just copied the right object libaries to my machine then I've set the necessary references. And now everything works just fine. You saved my life. Thanks again !

    HoBro


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

Featured