Solved

ASP Supports  Late Binding  or Early Binding ?

Posted on 2004-04-28
5
624 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
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/…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now