Logo Head Picture  free e- mail 
 thaimail 
 hotmail 
 yahoo 
 siam2you 
 thammasat
 Home  Visual Basic Active Server Page  JavaScript   Network   Other 
 Active Server Pages.











METHOD:  Server.CreateObject

Server.CreateObject(ObjectID)

The CreateObject method is probably the most widely used and the most important method available through the Built-in Actice Server Pages Objects. It allows you to instantiate the components of a script, or in different terms, create an instance of other objects. As a direct consequence, you can use and access any collections, events, methods, and properties associated with these objects.

There is one mandatory argument.

ObjectID

The ObjectID argument specifies the type of object to be created.

The following code creates a connection to a database:

Code:
<% Set myconn = Server.CreateObject("ADODB.Connection") %>

Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information

ASP - Link
ASP reference   
B   
C   
D   
E   
F   
G   
Last update: Copyright © 2001.Memo Wil@keo everything that I like Co.,Ltd.