473,395 Members | 1,412 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,395 software developers and data experts.

dll / assembly

Hi all !

Is it possible use a assembly(dll) created in .net in a
vb6 application ?

Thank's
Nov 20 '05 #1
7 1520
Hi,

Register the assembly with regasm

Ken
--------------
"silvio" <si*****@geap.com.br> wrote in message
news:05****************************@phx.gbl...
Hi all !

Is it possible use a assembly(dll) created in .net in a
vb6 application ?

Thank's

Nov 20 '05 #2
silvio schrieb:
Is it possible use a assembly(dll) created in .net in a
vb6 application ?


Yes, if classes are visible to COM and the DLL is registered for COM
interop. A basic sample:

<http://mvps.org/dotnet/dotnet/samples/codingtechnique/downloads/MyComLib.zip>

--
Herfried K. Wagner
Microsoft MVP

Nov 20 '05 #3
Herfried,

I download this example a noticed you have the following comment lines:

' <summary>' Erstellt eine neue Instanz der Klasse.

' </summary>

"Herfried K. Wagner" <hi*******@m.activevb.de> wrote in message
news:3F**************@m.activevb.de...
silvio schrieb:
Is it possible use a assembly(dll) created in .net in a
vb6 application ?
Yes, if classes are visible to COM and the DLL is registered for COM
interop. A basic sample:

<http://mvps.org/dotnet/dotnet/sample...ds/MyComLib.zi
p>
--
Herfried K. Wagner
Microsoft MVP

Nov 20 '05 #4
Herfried,

I downloaded your VB sample and noticed the following comment lines:

' <summary>

' Erstellt eine neue Instanz der Klasse.

' </summary>

Will these show up in intellisense?

Thanks,
Rob Panosh
"Herfried K. Wagner" <hi*******@m.activevb.de> wrote in message
news:3F**************@m.activevb.de...
silvio schrieb:
Is it possible use a assembly(dll) created in .net in a
vb6 application ?
Yes, if classes are visible to COM and the DLL is registered for COM
interop. A basic sample:

<http://mvps.org/dotnet/dotnet/sample...ds/MyComLib.zi
p>
--
Herfried K. Wagner
Microsoft MVP

Nov 20 '05 #5
"silvio" <si*****@geap.com.br> schrieb
Hi all !

Is it possible use a assembly(dll) created in .net in a
vb6 application ?

http://msdn.microsoft.com/library/en...nentstocom.asp
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #6
Herfried,

So the next release of VS.NET VB will have build in intellisense like C#.Net
has today? Also when is this scheduled for release?

Thanks,
Rob

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bs************@ID-208219.news.uni-berlin.de...
* "Rob Panosh" <ro************************@asdsoftadfdware.com> scripsit:
I download this example a noticed you have the following comment lines:

' <summary>' Erstellt eine neue Instanz der Klasse.

' </summary>


No. It won't. I will update the samples with "'''" comments which are
recognized in the next release of VS.NET. This will allow me to create
a documentation.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #7
On Mon, 22 Dec 2003 12:38:25 -0600, Rob Panosh wrote:
So the next release of VS.NET VB will have build in intellisense like C#.Net
Yes.
has today? Also when is this scheduled for release?


Mid 2004 (Hopefully). You can get technology preview now (Longhorn,
Whidbey, and Yukon) now if you are Universal Subscriber.

--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Nov 20 '05 #8

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

Similar topics

2
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
26
by: nospam | last post by:
Just wondering, What do you think the difference in performance would be between (1.) Compiled C# (2.) Compiled C++ (3.) and Assembly Language And how would the mix be if some if any of...
2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
7
by: R Reyes | last post by:
Can someone please explain to me why I can't get the MS Word Interop assembly to work in my VS2005 project? I'm trying to manipulate MS Word from my Web Form application and I can't get passed...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
1
by: Tim F | last post by:
Problem: I'm receiving the error "File or assembly name XXXXX or one of its dependencies, was not found." when trying to execute code in an assmebly that has both a strong-name and has been...
2
by: Paul | last post by:
Hi, I have experience in Java and C++ but I am rather new to C# and just started learning it. I am using Visual C# 2005 Express Edition and I found that there is a file called "AssemblyInfo.cs",...
1
by: Coaster | last post by:
orig ref here http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/ff29cc370678911d/c0db5b7e3da283b9?lnk=st&q=gac+assembly+new+version&rnum=7#c0db5b7e3da283b9...
14
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
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...

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.