CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Location
    Cracow, Poland
    Posts
    77

    ms word viewer and automation

    Hello Everybody.

    I've such a problem:

    I installed MS Word Viewer and would like to run it from VB 6 application.
    Unfortunatelly when I use code:

    Code:
        Set wordDoc = CreateObject("Wordview.Document")
    I receive error:

    Code:
    Run-time error '429'
    ActiveX component can't create object.


    Has anyone any idea how to create an object of the class?

    Thanks,
    r
    rposcro

  2. #2
    Join Date
    Jun 2003
    Location
    Malaysia (P.J)
    Posts
    410

    Re: ms word viewer and automation

    i only got ms word... not word viewer...

    why not u try early binding to check if word viewer is registed in the registry....
    open up the reference in vb n try to locate anything similiar to word or "word viewer"
    Back after a long hibernation.

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