Solved

regarding dll component

Posted on 2004-03-26
5
180 Views
Last Modified: 2010-04-06
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
Comment
Question by:sandip_patel7
  • 5
5 Comments
 
LVL 35

Accepted Solution

by:
YZlat earned 125 total points
ID: 10690688
Using VB.NET objects in classic ASP:
http://weblogs.asp.net/psteele/articles/7511.aspx
0
 
LVL 35

Expert Comment

by:YZlat
ID: 10690711
I suggest you use whatever you know best - VB or VB.NET, since you can use both with classic asp
0
 
LVL 35

Expert Comment

by:YZlat
ID: 10690773
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
 
LVL 35

Expert Comment

by:YZlat
ID: 10690928
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
 
LVL 35

Expert Comment

by:YZlat
ID: 10690942
and you need to close some of your open questions. at least the ones from a year ago
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question