MS Method Return Codes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • RdS

    #1

    MS Method Return Codes

    Where do I find return codes for MS methods. For instance the
    filesystemobjec t methods. I need to know what methods return (error codes,
    etc. and what they mean). I have searched MSDN and of course find the
    method syntax documents but the return codes are not present. What a method
    returns should be documented in the syntax document.

    Any help would be appreciated.

    Thanks.


  • Chris Dunaway

    #2
    Re: MS Method Return Codes

    RdS wrote:
    Where do I find return codes for MS methods. For instance the
    Since there are literally *thousands* of methods, you will have to be
    more specific.
    filesystemobjec t methods. I need to know what methods return (error codes,
    Each method signature should show you the return type. Is there a
    specific method you had in mind?

    Besides, you should not use the FileSystemObjec t (in VB6 or VB.Net).
    It is slow, many system adminstrators remove the scripting runtime
    ..dll so it might not be available, and, for VB.Net, there are built in
    IO functions that work much better.

    For VB6, (this is a .Net group by the way), try the replacement library
    at KillerVB.com. It is much faster and has syntax similar to the
    FileSystemObjec t.

    Comment

    • RdS

      #3
      Re: MS Method Return Codes

      thanks for reply.

      I am using vbscript in win2003. I found method syntax in mdsn but the it
      doesn't list return codes.

      The method is filesystemobjec t.getfolder and createfolder

      I just need to know where to find the info out since it isn't listed with
      method as it should be.

      Thanks.

      "Chris Dunaway" <dunawayc@gmail .comwrote in message
      news:1154621751 .061603.4210@h4 8g2000cwc.googl egroups.com...
      RdS wrote:
      >Where do I find return codes for MS methods. For instance the
      >
      Since there are literally *thousands* of methods, you will have to be
      more specific.
      >
      >filesystemobje ct methods. I need to know what methods return (error
      >codes,
      >
      Each method signature should show you the return type. Is there a
      specific method you had in mind?
      >
      Besides, you should not use the FileSystemObjec t (in VB6 or VB.Net).
      It is slow, many system adminstrators remove the scripting runtime
      .dll so it might not be available, and, for VB.Net, there are built in
      IO functions that work much better.
      >
      For VB6, (this is a .Net group by the way), try the replacement library
      at KillerVB.com. It is much faster and has syntax similar to the
      FileSystemObjec t.
      >

      Comment

      • Chris Dunaway

        #4
        Re: MS Method Return Codes

        RdS wrote:
        I am using vbscript in win2003. I found method syntax in mdsn but the it
        doesn't list return codes.
        This is a dotnet group so you're not likely to find many answers here
        about vbscript.
        >
        The method is filesystemobjec t.getfolder and createfolder
        >
        Off the top of my head, I believe these return a Folder object. You
        might look for those in the help.

        Comment

        Working...