Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Howto get a referance to a object I have created true GetObjectContext

Status
Not open for further replies.

pettera

Programmer
Apr 29, 2003
1
NO
When calling a component from an ASP page, and this component is running in a COM+ package I use this command to get a referance of the intersict object of ASP.

set refApplication = GetObjectContext("Application")

My question is how can I get a ref to one of my own object's created on an ASP page in a COM componenet called by that page.

I belive my component must suport some kind of interface, or that I have to add it to the GetObjectContext collection some way...
 
Use the full prog ID so something like this

Set oCustomers = GetObjectContext("Accounts.Customers")

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top