473,545 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

COM reference (X) as Interop.X

AA
Hi,
I am adding a COM reference to my VB.NET project. On adding that
reference X, in the references section I get the reference name as
Interop.X with type COM and path as /obj/Release/Interop.X.dll.
I wanted to know how this dll gets generated. Can I generate it using a
command line or through a makefile?

Thanks and Regards,
- P

Apr 24 '06 #1
1 1375
AA wrote:
I am adding a COM reference to my VB.NET project. On adding that
reference X, in the references section I get the reference name as
Interop.X with type COM and path as /obj/Release/Interop.X.dll.
I wanted to know how this dll gets generated.


That's the Visual Studio IDE doing the work for you and, so long as this
use of the COM component is a one-off, it's probably Good Enough.

However, you might also want to look at the Tlbimp utility, that creates
the InterOp assembly from on a Type Library, and has some useful options
like Strongly Naming the InterOp assembly so that you can add it to the
Global Assembly Cache, rather than having a separate InterOp Assembly
for each application.

HTH,
Phill W.
Apr 24 '06 #2

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

Similar topics

0
2769
by: lacour | last post by:
I can't seem to figure out the difference between adding a COM dll reference in VS2003 and by using TLBIMP. I have a COM dll that references another COM dll, and I want the syntax of my interop-filenames to be interop.<NameOfCOMDLL>.dll I now make the first interop file tlbimp COM1.dll /out:interop.COM1.dll /namespace:COM1
16
14093
by: Ekim | last post by:
hello, I'm allocating a byte-Array in C# with byte byteArray = new byte; Now I want to pass this byte-Array to a managed C++-function by reference, so that I'm able to change the content of the byteArray and afterwards see the changes in C#. (if you wanna know more details: the goal is to write the content of an existing char-array in c++...
1
8412
by: Steve B. | last post by:
Why does Office create a compile error when doing a Release compile but not when doing a Debug complie. Release compile is compiled to the network share drive - Excel Interop is added as a reference in the VS Project window. - Excel PIA Interop is located on the same network location as the exe and the share directory with PIA is included...
1
2820
by: hippo | last post by:
I am having trouble using the InDesign 2 library in VB net. I make a new exe project and open the project>add reference. I then browse to the reference and add it. However it shows up in the object browser as interop.indesign instead as indesign type library. I can get this to work in VB for controls 5. I'm v noob to this and I know this...
1
1614
by: Brian Mitchell | last post by:
Hello, I have an application that uses word automation and everything is working perfectly. However, I have one potential issue 1) I am using Office XP on my machine to design the app, however I realize that not everyone will have that version of Office and thus won't have the version 10 interop .dll. Is there any way to iterate...
5
49780
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. To do this, I created a reference to "Microsoft Excel 11.0 Object Library", and have a "using Excel;" directive. I decided to add a method for...
2
2701
by: dotnetnoob | last post by:
i got this program that will fetch the data in the excel spreadsheet, it was working before then i make some adjustment and it now give me an error of "Object reference not set to an instance of an object error" i can't seem to see what's wrong with my code so i'm hoping some fresh eyes can spot what's wrong or what i'm missing. the following...
2
1243
by: John.Miller | last post by:
I am writing an application inVisual Studio to ease our frontpage publishes. I have the command to publish, but I need to attach the Publish log to an email. Does anyone know how to get the publish log uri in order to attach the email? Here is the code that I am using to publish: Public Function PublishWeb(ByVal webname As String, ByVal...
2
7278
by: JC | last post by:
Anybody knows what problem has this code? I think, in the Garbage Collector? You know the Solution? The program in the test's case, whit 350 contacts, run OK before number 86. The error is a "Array index out of bounds". Microsoft.Office.Interop.Outlook._Application olApp = new Microsoft.Office.Interop.Outlook.ApplicationClass();...
0
7468
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...
0
7401
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...
1
7423
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7757
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...
1
5329
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...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3443
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1884
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
1
1014
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.