Object in Object....

Results 1 to 2 of 2

Thread: Object in Object....

  1. #1
    Join Date
    Dec 1969

    Default Object in Object....

    I started playing around with WSC objects today.... very cool. Quick question: <BR><BR>If I create an object (an ADODB Connection object, for example) inside a WSC object, can I use that object in a script? <BR><BR>My money is on "No" but I&#039;d like to hear "yes."

  2. #2
    Join Date
    Dec 1969

    Default RE: Object in Object....

    If you just return the reference to the script (I assume you mean ASP script), then yes, you can do it. I don&#039;t know the VBS syntax off hand, but it would be something like<BR><BR>set x = createobject(...)<BR>Set functionname = x

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts