Thread: Com+

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    2
    Rep Power
    0

    Com+


    How to get the reference of a object running in the MTS or COM+
    with out creating an object of it from client in VB?

    How to write the Component that only one instance of that component is accesible to all the clients (Same instance) in VB ?
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Canada - Egypt
    Posts
    60
    Rep Power
    12
    It could be done in the global.asa file
    as a <object name = "OBJconn"clsID = "Reg_reference"> outside the <Script></script>
    or
    as Application("coon") = Server.CreateObject("Reg_reference").
    in the ApplicationOnLoad Sub

    and from any asp page under that global.asa file, use the ref to the object
    by OBJconn.function
    or Application("coon").function

    I hope this is remotly close to what u wanted.
    I hope this is of any help to anyone.

    Yassoor
    http://www.WebsitesCreation.ca

IMN logo majestic logo threadwatch logo seochat tools logo