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.filen otfound 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. 5 1503
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" <ja***@dive-master.org> wrote in message
news:43******** *******@news.de mon.co.uk: 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.filen otfound 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.
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.Applicatio n
myDoc = New Word.Document
Catch ex As System.IO.FileN otFoundExceptio n
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, "scorpion53 061"
<sc************ @nospamhereyaho o.com> 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" <ja***@dive-master.org> wrote in message news:43******* ********@news.d emon.co.uk:
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.filen otfound 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.
Hi Jason,
Change the "Catch ex as System.IO.FileN otFoundExceptio n" to "Catch ex as
Exception" and do a Debug.Writeline (ex.Tostring) and copy and paste it
here.
Also send the app to sc************@ nospamyahoo.com (remove no spam).
I would like to see what you are dealing with. If you are correct, we
are doing a lot of Office automation around here and I would like to
know if we are going to encounter similar issues.
Kelly
"Jason James" <ja***@dive-master.org> wrote in message
news:43******** *******@news.de mon.co.uk: 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.Applicatio n myDoc = New Word.Document Catch ex As System.IO.FileN otFoundExceptio n 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, "scorpion53 061" <sc************ @nospamhereyaho o.com> 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" <ja***@dive-master.org> wrote in message news:43******* ********@news.d emon.co.uk:
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.filen otfound 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.
Kelly,
thanks for sticking with me on this. I'll get what you ask ed for to
you as soon as I can. Most of our users have full-blown
office 2003, so I need to wait until a SBE office PC is
available to do some testing on. It should be by early
next week.
Regards,
Jason.
On Fri, 30 Sep 2005 14:27:49 +0000, "scorpion53 061"
<sc************ @nospamhereyaho o.com> wrote: Hi Jason,
Change the "Catch ex as System.IO.FileN otFoundExceptio n" to "Catch ex as Exception" and do a Debug.Writeline (ex.Tostring) and copy and paste it here.
Also send the app to sc************@ nospamyahoo.com (remove no spam).
I would like to see what you are dealing with. If you are correct, we are doing a lot of Office automation around here and I would like to know if we are going to encounter similar issues.
Kelly
"Jason James" <ja***@dive-master.org> wrote in message news:43******* ********@news.d emon.co.uk:
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.Applicatio n myDoc = New Word.Document Catch ex As System.IO.FileN otFoundExceptio n 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, "scorpion53 061" <sc************ @nospamhereyaho o.com> 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" <ja***@dive-master.org> wrote in message >news:43******* ********@news.d emon.co.uk: > >> 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.filen otfound 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. >
No problem. Otherwise you can just zip the project up and email to me.
"Jason L James" <ja***@nospam.d ivemaster.org> wrote in message
news:cp******** *************** *********@4ax.c om: Kelly,
thanks for sticking with me on this. I'll get what you ask ed for to you as soon as I can. Most of our users have full-blown office 2003, so I need to wait until a SBE office PC is available to do some testing on. It should be by early next week.
Regards,
Jason.
On Fri, 30 Sep 2005 14:27:49 +0000, "scorpion53 061" <sc************ @nospamhereyaho o.com> wrote:
Hi Jason,
Change the "Catch ex as System.IO.FileN otFoundExceptio n" to "Catch ex as Exception" and do a Debug.Writeline (ex.Tostring) and copy and paste it here.
Also send the app to sc************@ nospamyahoo.com (remove no spam).
I would like to see what you are dealing with. If you are correct, we are doing a lot of Office automation around here and I would like to know if we are going to encounter similar issues.
Kelly
"Jason James" <ja***@dive-master.org> wrote in message news:43******* ********@news.d emon.co.uk:
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.Applicatio n myDoc = New Word.Document Catch ex As System.IO.FileN otFoundExceptio n 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, "scorpion53 061" <sc************ @nospamhereyaho o.com> 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" <ja***@dive-master.org> wrote in message >news:43******* ********@news.d emon.co.uk: > >> 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.filen otfound 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. > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mickeydisn |
last post by:
Sub: C++ Word automation Extract text
hello.
I want extact text form a word document using a visual c++ programme.
I have see a lot of documentation. and my analysis is that I must use a
"word automation".
I have foud a lot of exemple to use it but I need your precious help to
|
by: Neil Ginsberg |
last post by:
I have a strange situation with my Access 2000 database. I have code in the
database which has worked fine for years, and now all of a sudden doesn't
work fine on one or two of my client's machines. The code opens MS Word
through Automation and then opens a particular Word doc. It's still working
fine on most machines; but on one or two of them, the user is getting an
Automation Error. The code used is as follows:
Dim objWord As...
|
by: Cheval |
last post by:
Has anyone had any problems with inter-office automation between MS Word and
MS Access in Office 2003?
I have recently installed office 2003 in a new folder and have left the
older office 2000 and office XP components installed. ie I have
word/access/excel 2k/xp/2003 installed. I tried to do a usual access 2k to
word 2k automation yet I get the error "Automation Error" "ClassFactory
cannot supply requested class" when on late binding try...
|
by: TR |
last post by:
Hi,
We have some code that uses automation to create/manipulate word
documents. This runs in a batch mode, generating dozens of documents in
sequence. The code works great, but while the automation code is working
in word, care must be taken not to "interrupt" it with a keystroke or
mouse-click, otherwise the current selection gets put somewhere its not
supposed to be, and subsequent code will fail. This means that while it
is running,...
|
by: Neil |
last post by:
Is there a way to trap an error generated in another app that is controlled
via automation? I have an Access 2000 app that opens Word 2000 and proceeds
to open a series of documents and, in each document, parse the contents and
write it to an Access table (the Access app, after opening Word, runs a
macro within Word which parses and writes to the Access app via DAO).
Occasionally we get an error from Word (such as "document is locked for...
| |
by: kids |
last post by:
Does anybody know any reason which could cause Ms. word automation to crash?
I try to call word automation to open a document and use find and replace
function.
For some reason it works but I don't know why it crash some time.
|
by: Daniel |
last post by:
Hello,
i have a problem with the word automation from c#. First,
i want to mention, that i don't have any dependencies from
word in my c#-project, i want to use the system.reflection
model to handle the automation.
So, i'm using the following code to create a new word
document:
---Code---
|
by: perspolis |
last post by:
I want to use automation property in my program like
Insert Object in Microsoft word.
The automation is for Autocad.
Does anyone has a sample program or plz instruct me?
|
by: William LaMartin |
last post by:
I have created a program that allows for the automation of things in Word
documents, like changing the values of DocVariables and the links to Excel
Sheets. I did it using interoperoperatability, where I declare objects as
follows:
Dim oWordApp As New Microsoft.Office.Interop.Word.Application, after adding
a reference to Microsoft.Office.Core and a reference to Microsoft Word. I
could do this since I have the Primary Interop...
|
by: cj2 |
last post by:
I open a word template in VB and add values to the bookmarks then save
the document as as pdf. When I then go to close the document it pops up
a save as dialog box. It's already saved the document in pdf and that
is all I want done with it. How can I tell it to close the file without
prompting me for anything?
For Each row As DataRow In myDt.Rows
Dim objWord As Application
Dim objDoc As Document
objWord =...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |