Section 8.1


[Page 624 (continued)]

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.




An Introduction to Programming Using Visual Basic 2005
Introduction to Programming Using Visual Basic 2005, An (6th Edition)
ISBN: 0130306541
EAN: 2147483647
Year: 2006
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net