Re: Automation of MS Word



Thanks for the post. However I don't think that any
files are being loaded at that point in time.

The NEW method in the class is as follows:

Public Sub New()
Try
myWord = New Word.Application
myDoc = New Word.Document
Catch ex As System.IO.FileNotFoundException
MessageBox.Show(ex.Message)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub

At this point no files are being loaded. I assume that it
is trying to load the type library but can't because
it is incompatible, even though it is configured as
as local file and placed into the application folder.

Any other thoughts?

Jason.



On Fri, 30 Sep 2005 10:09:57 +0000, "scorpion53061"
<scorpion_53061@xxxxxxxxxxxxxxxxxxx> wrote:

>
>Something is wrong there. IO is a file namespace for working with files.
>Some file that it is trying to find is missing. Check whatever files are
>mentioned to see if they are where they are suppose to be.
>
>"Jason James" <jason@xxxxxxxxxxxxxxx> wrote in message
>news:433cf181.54405761@xxxxxxxxxxxxxxxx:
>
>> I all,
>>
>> I have a VB.Net app that words just fine when automating
>> MS Word 2003, when Word is part of MS Office Professional
>> edition (even with SP1 installed). However, if I install the app
>> onto a machine wunning MS Word 2003 that is part of
>> MS Office Small Business Edition 2003, it can not load
>> and run the type library needed to perform the automation
>> tasks? I get a system.io.filenotfound exception raised,
>> saying that the specified module can not be found.
>>
>> Does anyone have any suggestions as to why this doesn't
>> work with the SBE of MS office 2003, and how I can sort
>> them out?
>>
>> Many thanks,
>>
>> Jason.
>

.



Relevant Pages

  • Re: Code correctness, and testing strategies
    ... I did do it in a mostly top-down way, but didn't stop the BDD ... get a skeleton app working ... writing both (and automating them in a test suite that runs without ... missing acceptance tests? ...
    (comp.lang.python)
  • Re: How to develop a PPC application
    ... >what is your programming experience level. ... an app. ... Be careful about overly automating, as in automatically switching fare ...
    (microsoft.public.pocketpc.developer)
  • How to Get Specyfic Object from ROT
    ... To make it simple let's say that the app i'm automating ... Get TW4Win.Application object from ROT that is bound to THIS window ...
    (microsoft.public.win32.programmer.ole)
  • Re: Remove Media Center app?
    ... Jason Tsang - Microsoft MVP ... Before this system, with MCE, I had separate apps for these functions, ... of the situations where they are trying to cover everything with one app. ... I do not see in Add/Remove Programs where I can remove the MC app. ...
    (microsoft.public.windows.mediacenter)
  • Re: User action logging
    ... I did it by automating the additon of the logging to the forms by copying ... But for a completer app that may not be so ... code to every click event) log the user activty within my app? ...
    (microsoft.public.vb.general.discussion)

Loading