Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP or ActiveX

Thread Tools

ASP or ActiveX

Meelis Lilbok
Posts: n/a

simple question

what is faster, ASP Code or compiled ActiveX DLL with same functions(queryng
data from ms sql server)


Reply With Quote
Bob Barrows [MVP]
Posts: n/a
Meelis Lilbok wrote:
> Hi
> simple question
> what is faster, ASP Code or compiled ActiveX DLL with same
> functions(queryng data from ms sql server)

It depends. In general, compiled code will wait (i.e., for database
connections to be made, data to be returned from queries, etc.) just as long
as non-compiled code will wait. IOW, when it comes to working with a
database, bottlenecks usually have nothing to do with whether the code doing
the database communication is compiled or not.

Where compiled code may have an advantage is situations where a lot of extra
processing is done to the data after it is returned from the database.

When running ActiveX DLL's from ASP, you should be aware that there is some
overhead involved from instantiating the dll.

A more definitive answer can only be gained by testing both options in your

Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Reply With Quote
Posts: n/a
And for a related link:

Best regards,
-Paul - Freelance Web and Database Developer - Classic ASP Design Tips

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX control in python vs ActiveX control in vb 6 (piece of code) vml Python 0 08-22-2007 09:57 AM
ActiveX apologetic Larry Seltzer... "Sun paid for malicious ActiveX code, and Firefox is bad, bad bad baad. please use ActiveX, it's secure and nice!" (ok, the last part is irony on my part) Java 0 04-16-2005 10:05 PM
Using ActiveX Controls in ASP.NET or ASP Mattt ASP .Net 3 06-16-2004 02:03 PM
Cannot get ASP.NET page to work with ActiveX control Edward ASP .Net 0 07-28-2003 02:56 PM
ActiveX control on ASP.NET Web Form Runtime Error ann ASP .Net 0 07-24-2003 10:17 PM