MS Method Return Codes

  • Thread starter Thread starter RdS
  • Start date Start date
R

RdS

Where do I find return codes for MS methods. For instance the
filesystemobject 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.
 
RdS said:
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.
filesystemobject 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 FileSystemObject (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
FileSystemObject.
 
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 filesystemobject.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.
 
RdS said:
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 filesystemobject.getfolder and createfolder

Off the top of my head, I believe these return a Folder object. You
might look for those in the help.
 
Back
Top