Solved

ASP Supports  Late Binding  or Early Binding ?

Posted on 2004-04-28
5
632 Views
Last Modified: 2012-08-13
What is the Difference Between Late vs Early binding

 Does ASP Support  both binding?

If not , which one , and why ?

I know these r basic stuffs, but want to get an explanation directly from experts

0
Comment
Question by:msaravanan
5 Comments
 
LVL 6

Accepted Solution

by:
Lord_McFly earned 25 total points
ID: 10941704
Heres a couple of URLs for you to look over. They appear to be around the subject of VB but Automation can be used in ASP.

E.g. - If I wanted to use Word Automation I would use the below to create an instance of the application.

Set objDoc = Server.CreateObject("Word.Application")

This is early binding - within ASP I don't think you can do late binding (see the articles).


Using Early Binding and Late Binding in Automation
----------------------------------------------------------------------
http://support.microsoft.com/default.aspx?scid=kb;EN-US;245115


Early vs. Late Binding
----------------------------------------------------------------------
http://word.mvps.org/FAQs/InterDev/EarlyvsLateBinding.htm

Hope this throws some light on the situation for you.
0
 
LVL 11

Assisted Solution

by:mouatts
mouatts earned 25 total points
ID: 10941827
Early binding essentially means that the addresses of called functions and variables within a library (.lib or .dll) occur when a program is linked.
Late binding means that the addresses are determined at run time (on some systems this means when the program is invoked but on others it means when the particular function or variable is first accessed).

ASP is an interpreted language so as such it does neither. However when the asp.dll that executes the ASP does perform late binding when accessing activeX/Com objects.


HTH
Steve
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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