Function return an object

Results 1 to 2 of 2

Thread: Function return an object

  1. #1
    Join Date
    Dec 1969

    Default Function return an object

    Is there any way to make a VB script function return an object?<BR>i.e. <BR>objFileStream = InitFileFSO(ForWriting)<BR><BR>objFileStream.Write Line "This is an object method test"<BR><BR>If not this specific example, anything else that is close? like an equ. to Class Set Properties?

  2. #2
    Join Date
    Dec 1969

    Default RE: Function return an object

    I think what ever you have written is right,you can use it in that way and i ahve used it to get the connection object by passing parameters DSN,UID,PWD

Posting Permissions

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