Re: Automation of MS Word
- From: jason@xxxxxxxxxxxxxxx (Jason James)
- Date: Fri, 30 Sep 2005 10:35:32 GMT
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.
>
.
- References:
- Automation of MS Word
- From: Jason James
- Automation of MS Word
- Prev by Date: Re: IsDate problem
- Next by Date: Re: Using Application.Run() without a form
- Previous by thread: Automation of MS Word
- Next by thread: Workflow products recommend require.
- Index(es):
Relevant Pages
|
Loading