Results 1 to 2 of 2

Thread: Permission Denied error

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Posts
    2

    Unhappy Permission Denied error

    Hi,
    I created a macro program to create a Word file. Then i copied the macro program created using Word to my VB application. But when i execute the line "Set obj=New Word.Application" VB shows a "Permission denied" error. The Microsoft Word9.0 library is included in the Reference so it is not showing any compile time errors. My machine is a domain controller (xyz.com) but not connected to the outside world. And i login as "Administrator" . But still the problem exists. If anyone knows the solution, please mail me at [email protected]

    Thank You,
    Mohan.

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Try running the dcomcnfg utility fromt he windows start menu > run program. This will let you select word & who has access to start & run it...

    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