The Name method of VB6 is replaced in VB2005 by File.Move. For instance, Name oldfilespec As newfilespec becomes File.Move(oldfilespec, newfilespec). Although GoSub is not supported by VB2005, On Error GoTo is supported. However, structured exception handling with Try-Catch-Finally blocks is preferable to the unstructured error handling available with VB6. |