Results 1 to 2 of 2

Thread: MsWord PIA Execution Problem

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Talking MsWord PIA Execution Problem

    Hey People!!!
    Okay I've got an app which uses 2 lines of code to connect to word, but the 2nd line is failing & the instance of Word is never created:
    VB Code:
    1. Dim myObj as Microsoft.Office.Interop.word.application
    2. myObj = new Microsoft.Office.Interop.word.application

    I've:
    1) installed & registered the Office PIA's ok
    2) have imported references to the Office & Word libraries
    3) set all the settings under the DComCnfg utility so I can start & play with word without a permissions problem
    4) set the macro security to low inside of word.

    Can anyone please give any other suggestions to try to get my app to connect upto Word properly please??? This works fine on my local PC, but as soon as I put this onto our server, line 2 just does not want to know!!!!

    Thanks!!!!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    bump!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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