Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

regarding dll component

Dear friends,

I want to store all of my functions in dll component and want to use it in ASP. I have 2 options to make dll. VB or VB.NET.

if I make the dll in VB.NET then can I use this dll component in Classic ASP ?

What is the greatest different between VB and VB.NET to make dll component ?
0
sandip_patel7
Asked:
sandip_patel7
  • 5
1 Solution
 
YZlatCommented:
Using VB.NET objects in classic ASP:
http://weblogs.asp.net/psteele/articles/7511.aspx
0
 
YZlatCommented:
I suggest you use whatever you know best - VB or VB.NET, since you can use both with classic asp
0
 
YZlatCommented:
What is the difference between COM component and .NET components?
For a component to be called as COM compatible it must support IUnknown interface. This interface is responsible for reference counting of the component. When you compile a COM component all the information about various methods and their parameters is stored in a 'Type Library' (In case of VB type library information is embedded in the resulting EXE or DLL itself). To successfully use COM component this information must be available along with some registration information.

In contrast, .NET component are very different. The component do not itself keeps track of reference count. It's the responsibility of the CLR. Also, .NET components store all the information about the component along with the assembly itself. This information is called as MetaData. .NET components are self-contained units of functionality that do not require any registration.

0
 
YZlatCommented:
also you have two more identical questions posted:

http://www.experts-exchange.com/Web/Web_Languages/Q_20933337.html
http://www.experts-exchange.com/Web/Web_Languages/Q_20933338.html

I suggest you have them removed, there is no need to post the same question 3 times
0
 
YZlatCommented:
and you need to close some of your open questions. at least the ones from a year ago
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now