|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
filesystemobject.createfolder error codesHello,
I have been searching for what createfolder can return or does return. Where on MSDN can I find what a MS method returns? I have searched for filesystemobject.createfolder errors, error codes, error, etc. and cannot find what it returns. The syntax document for the method on MSDN doesn't list what it returns. I need to know what the method can return so I can handle exceptions. Thanks. Hi Rds,
The CreateFolder method will return an object if the folder is created successfully. If it fails, the script will throw an error code instead of return an error code. There are no documents describing what error code will be thrown. However, we can imagine that there are only a few reasons that this might occur. For example, no permission, duplicate name or disk full are all common reasons. You can just use an On Error Goto to handle the exception. Kevin Yu Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications. Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx. ================================================== (This posting is provided "AS IS", with no warranties, and confers no rights.)
1 Variable - 2 Forms
Co-existing ASP.NET 1.1 and 2.0??? Accessing Structure Members Communication between threads Words to Number Detect TcpClient Connection dropped Printing on a new page Excel already runnig, how to update with VB Moving windows How to change ConnectionString for DataSet at runtime? |
|||||||||||||||||||||||