Problem in Opening Word on 98

Hi,

It would be great if some one help me on this issue.
I am facing a problem in opening MS Word through vb.net windows form on O/S 98.
I am opening Microsoft Word using Late binding. Installer also contains MSWORD9.olb. But when open Word from the application on O/S 98 it gives run time error.


Thanks in advance.


Answer this question

Problem in Opening Word on 98

  • jcastiarena

    Does your application automate the instance of MS Word after it is opened

    If so, I'd suggest you switch to using the Office.Interop assemblies to control Word.

    If not, and your just opening the app to display a file, I'd suggest just using System.Diagnostics.Process to start the instance of Word passing whatever command line args you find necessary.

  • Jeremy Thomas

    What is the runtime error, and how are you opening it via late binding   CreateObject()   Wouldn't it be a lot more intelligent to have an adapter class created to manipulate the functions available through the COM object   I know Office based assemblies take in a lot of Nothings as parameters for functions, and it can be annoying to see Nothing, Nothing, ByRef Nothing, Nothing, "Hello" in your code.

    Anyways, until we know what your runtime error is, it's hard to help you.

  • Problem in Opening Word on 98