473,769 Members | 2,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Distributable Files for Word Automation?

Does anyone know which files need to be distributed with a VB.NET
application to enable Word automation on a m/c that does not have Word
installed? Is this even possible / permissible? I currently get the error
"File or assembly name Microsoft.offic e.interop.word or one of its
dependencies was not found".

TIA

Charles
Nov 21 '05 #1
4 2755
Not possible. They require that the word version matching your library
you are coding against be on their computer.

"Charles Law" <bl***@nowhere. com> wrote in message
news:bl***@nowh ere.com:
Does anyone know which files need to be distributed with a VB.NET
application to enable Word automation on a m/c that does not have Word
installed? Is this even possible / permissible? I currently get the error

"File or assembly name Microsoft.offic e.interop.word or one of its
dependencies was not found".

TIA

Charles


Nov 21 '05 #2
Charles, your target machine does need to have Word installed if you wish to
use Word automation. All that VB.NET provides are the object definitions
that Word uses so your compiler can compile the program but to instanciate
and manipulte Word objects you need to have Word installed to get access to
the objects implementation programs.

Fred

"Charles Law" <bl***@nowhere. com> wrote in message
news:uh******** ******@TK2MSFTN GP09.phx.gbl...
Does anyone know which files need to be distributed with a VB.NET
application to enable Word automation on a m/c that does not have Word
installed? Is this even possible / permissible? I currently get the error
"File or assembly name Microsoft.offic e.interop.word or one of its
dependencies was not found".

TIA

Charles

Nov 21 '05 #3
Thanks Fred.

Charles
"fred" <fr**@NoSpam.co m> wrote in message
news:eh******** ******@TK2MSFTN GP14.phx.gbl...
Charles, your target machine does need to have Word installed if you wish
to
use Word automation. All that VB.NET provides are the object definitions
that Word uses so your compiler can compile the program but to instanciate
and manipulte Word objects you need to have Word installed to get access
to
the objects implementation programs.

Fred

"Charles Law" <bl***@nowhere. com> wrote in message
news:uh******** ******@TK2MSFTN GP09.phx.gbl...
Does anyone know which files need to be distributed with a VB.NET
application to enable Word automation on a m/c that does not have Word
installed? Is this even possible / permissible? I currently get the error
"File or assembly name Microsoft.offic e.interop.word or one of its
dependencies was not found".

TIA

Charles


Nov 21 '05 #4
Thanks for the reply. Looks like plan B then ...

Charles
"scorpion53 061" <sc************ @nospamhereyaho o.com> wrote in message
news:OK******** ******@tk2msftn gp13.phx.gbl...
Not possible. They require that the word version matching your library you
are coding against be on their computer.

"Charles Law" <bl***@nowhere. com> wrote in message news:bl***@nowh ere.com:
Does anyone know which files need to be distributed with a VB.NET
application to enable Word automation on a m/c that does not have Word
installed? Is this even possible / permissible? I currently get the error

"File or assembly name Microsoft.offic e.interop.word or one of its
dependencies was not found".

TIA

Charles

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
15274
by: David Erickson | last post by:
I need to read some (about 15,000) word documents and add some wrappers around them for importing into a database. What is the best way to read a ..doc file in VB? I would like to save the formatting as .RTF so it can be included. I can do this in Word VBA, but I would prefer to do it in straight VB (either VB6 or .Net). Thanks for any help on this.
1
12088
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
12
5530
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...
4
7683
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---
4
11134
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone done this? Does it seem possible? I followed the instructions from a sample on the Microsoft knowledge base but it only seems to work when creating a VB.NET Windows .EXE, not an VB.NET ASP app.
2
2033
by: Richard | last post by:
Hi Guys, Just a short note to ask for a little advice or a push in the right direction. I have recently been asked to transfer all our exsiting word documents over on the server to PDF format. The only snag being is that I don't know how to write the code that will open up a PDF file from within a VB6 application to access them. I suppose I am looking for some VB6 code that I can put behind a command button, which will when clicked bring...
5
2871
by: jpr | last post by:
Hello, I have a form with a cbo which get's its data from a table. This combo returns names of MS Word files in the following path: C:\shares\files\*.dot I would like to open these files (actually it should open a copy of the template and not the dot file itself) using the OnChange event of my cbo. Is there a way or some code to help me? Thanks
9
8287
by: Peter | last post by:
Does anyone has .NET library to merger RTF files? Thank You Peter
10
3286
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 =...
0
9589
marktang
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...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10219
Oralloy
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...
0
10049
jinu1996
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...
0
9865
tracyyun
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...
1
7413
isladogs
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...
0
6675
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();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.