Whatever message this page gives is out now! Go check it out!
<cfobject
component = "component name"
domain = "domain name"
name = "instance name"
password = "the password"
type = "component"
username = "the user name">Attribute | Req/Opt | Default | Description |
component | Required | Name of component to instantiate. | |
domain | Required | The domain to which the user belongs. | |
name | Required | String; name for the instantiated component. The name must not have a period as the first or last character. | |
password | Required | The password to access the COM component. | |
type | Optional | component | The object type. You can omit this attribute or specify component. ColdFusion automatically sets the type to component . |
username | Required | The user name to access the COM component. |
<!--- Separate instantiation and method invocation; --->
<!--- permits multiple invocations. --->
<cfobject
name="quoteService"
component="nasdaq.quote">
<cfinvoke
component="#quoteService#"
method="getLastTradePrice"
symbol="macr"
returnVariable="res">
<cfoutput>#res#</cfoutput><br>
<cfinvoke
component="#quoteService#"
method="getLastTradePrice"
symbol="mot"
returnVariable="res">
<cfoutput>#res#</cfoutput>