Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP Supports  Late Binding  or Early Binding ?

Posted on 2004-04-28
5
Medium Priority
?
668 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 100 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 100 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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/…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

885 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