Solved

ASP Supports  Late Binding  or Early Binding ?

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 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