The following example shows how to use the CreateObject method with the default business object, AdvancedDataFactory.
<OBJECT CLASSID="clsid: 99586D40-DB60-11cf-9D87-00AA00B91181" ID="ADS1"
</OBJECT>
.
.
.
Set rsData = ADS1.CreateObject _
("AdvancedDataFactory", "http://SalesWeb")
The following example shows how to use the CreateObject method to instantiate a custom business object, CustomerRanking.Customer. It also uses the Active Server Pages scripting to identify the Web server name.
Set GCustomer = ADS1.CreateObject _
("CustomerRanking.Customer", _
"http://<%=Request.ServerVariables("SERVER_NAME")%>")
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.