473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

mircrosoft word integration with dot net

If we want to integrate word in dot net, we need to add
the com library reference in the project. Do you know how
I copy the dll onto my dot net framework without using the
add reference because I am not using the visual studio.

Is there any link that you know where I can get some hints?

Thanks.

Ray
Nov 22 '05 #1
2 1910
Ray,

when you compile from the command line, if you are using VB.NET, you will
use a command like:
vbc.exe /target:library /out:MyLib.dll SourceModule1.vb SourceModule2.vb

what you need to do is to add a reference to the line. eg
vbc.exe /target:library /out:MyLib.dll /r:Interop.Office.Word.dll
SourceModule1.vb SourceModule2.vb

remember to substitute the actual name of the interop dll in your actual
command.

Now, you may ask, "When we are talking about COM, where does this interop
dll come from?" It comes from the tlbimp.exe utility, of course.

tlbimp.exe:
http://msdn.microsoft.com/library/en...rTlbimpexe.asp
Also you may want to look at the more general article:
http://msdn.microsoft.com/library/en...tframework.asp

-Dino

"in***********@hotmail.com" <an*******@discussions.microsoft.com> wrote in
message news:00****************************@phx.gbl...
If we want to integrate word in dot net, we need to add
the com library reference in the project. Do you know how
I copy the dll onto my dot net framework without using the
add reference because I am not using the visual studio.

Is there any link that you know where I can get some hints?

Thanks.

Ray

Nov 22 '05 #2
Ray,

when you compile from the command line, if you are using VB.NET, you will
use a command like:
vbc.exe /target:library /out:MyLib.dll SourceModule1.vb SourceModule2.vb

what you need to do is to add a reference to the line. eg
vbc.exe /target:library /out:MyLib.dll /r:Interop.Office.Word.dll
SourceModule1.vb SourceModule2.vb

remember to substitute the actual name of the interop dll in your actual
command.

Now, you may ask, "When we are talking about COM, where does this interop
dll come from?" It comes from the tlbimp.exe utility, of course.

tlbimp.exe:
http://msdn.microsoft.com/library/en...rTlbimpexe.asp
Also you may want to look at the more general article:
http://msdn.microsoft.com/library/en...tframework.asp

-Dino

"in***********@hotmail.com" <an*******@discussions.microsoft.com> wrote in
message news:00****************************@phx.gbl...
If we want to integrate word in dot net, we need to add
the com library reference in the project. Do you know how
I copy the dll onto my dot net framework without using the
add reference because I am not using the visual studio.

Is there any link that you know where I can get some hints?

Thanks.

Ray

Nov 22 '05 #3

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

Similar topics

1
by: insureallrisk | last post by:
If we want to integrate word in dot net, we need to add the com library reference in the project. Do you know how I copy the dll onto my dot net framework without using the add reference because I...
0
by: insureallrisk | last post by:
If we want to integrate word in dot net, we need to add the com library reference in the project. Do you know how I copy the dll onto my dot net framework without using the add reference because I...
2
by: Derek Hart | last post by:
I am using late bound Microsoft Word integration with a vb.net winforms application. If I run code such as the following: Dim objWord As Object Dim objWrdDoc As Object Dim count As Integer...
0
by: prakashsakthivel | last post by:
Dear Members, I want to write Microsoft Exam for VBA ( Excel,Access, Word). Could you please any member guide me that where i can get details about that. Thanks musai.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
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,...
0
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...

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.