Wrox Programmer Forums
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 16th, 2007, 10:14 AM
Registered User
Join Date: Aug 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to explore_asp
Default ADO


Can anybody tell me what does Server.CreateObject("Some DLL")
exactly does . I want to know what it does at machine level ,what
happens behind the Code.

I want more technical answer ,rather then what it is ,and what
is does ?

    Please any one can help me out .

    Thanks In Advance..........................
Old August 16th, 2007, 11:56 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

What exactly do you already know about it? I mean in what direction and at what level are you looking for an answer?

It basically instantiates a new COM object for you, so you can work with it. It's using late binding, which means the type / interfaces are not available until run-time.

BTW: you're better off posting this in another forum with a different subject. A) it's technical, so it has nothing to do with feedback on the P2P site and B), it's not related to ADO, really, although you can use Server.CreateObject to create ADO instances.


Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Old August 20th, 2007, 02:58 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

quote:Originally posted by Imar
 BTW: you're better off posting this in another forum with a different subject.

C) Server.CreateObject is not typically a method you would use in a .NET application. That is syntax from classic ASP, VBScript, etc. .NET should use syntax like:

C#: MyObject objInstance = new MyObject();

VB: Dim objInstance As MyObject = New MyObject()


Similar Threads
Thread Thread Starter Forum Replies Last Post
ADO??? monabaumgartel BOOK: Beginning Access 2003 VBA 1 August 7th, 2007 05:44 PM
Difference between ADO and ADO.NET rakeshclose2u ADO.NET 2 April 23rd, 2007 03:57 AM
ADO AND ADO.NET royalsurej ADO.NET 1 November 8th, 2004 08:28 AM
ADO could ADO counot find the specified provider. Rob Collie Classic ASP Databases 2 June 9th, 2003 04:12 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.