By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,246 Members | 1,451 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,246 IT Pros & Developers. It's quick & easy.

MS Method Return Codes

P: n/a
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.
Aug 3 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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.
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.

Aug 3 '06 #2

P: n/a
RdS
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.

"Chris Dunaway" <du******@gmail.comwrote in message
news:11********************@h48g2000cwc.googlegrou ps.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.
>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.

Aug 3 '06 #3

P: n/a
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 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.

Aug 3 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.