|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
not all paths return a valuebut i DONT get the "not all paths return a value" squiggly - is this a 'feature' of on error goto? Private Function CreateFolder(ByVal sFileName As String) As Boolean On Error GoTo Errors 'Create it if necessary If Directory.Exists(sFileName) = False Then Directory.CreateDirectory(sFileName) End If 'Succeeded in creating a folder CreateFolder = True Errors: End Function "guy" <g**@discussions.microsoft.com> schrieb: Bug report:>i have inherited the following migrated vb6 code (vb2005) > but i DONT get the "not all paths return a value" squiggly - is this a > 'feature' of on error goto? <URL:http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?FeedbackId=e053a0fc-7d22-4c60-b596-a7b798a48100> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> thanks Herfried
Show quoteHide quote "Herfried K. Wagner [MVP]" wrote: > "guy" <g**@discussions.microsoft.com> schrieb: > >i have inherited the following migrated vb6 code (vb2005) > > but i DONT get the "not all paths return a value" squiggly - is this a > > 'feature' of on error goto? > > Bug report: > > <URL:http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?FeedbackId=e053a0fc-7d22-4c60-b596-a7b798a48100> > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > >
Microsoft doesn't want you to use VB .Net
The connection is dead Unmanaged C dll call OpenFileDialog XML question WIA.ImageFile to System.Drawing.Image How to loop thru each controls ? Using VB Keywords In An Enum Statement How to get a List of Checked items from a Treeview Developing Application like Photoshop |
|||||||||||||||||||||||