When using the with statement(vb), two errors were found

SyntaxEditor for Windows Forms Forum

Posted 2 years ago by hehui - manager, foxtable
Version: 22.1.0
Platform: .NET 5.0
Environment: Windows 10 (64-bit)


This is the code for testing:

Dim abcd As String
With abcd
	With .Substring(2)
		With .Substring(2)
		End With 
	End With 
End With 

Now, hover the mouse on the second  Substring , after a while, a StackOverflowException raised.

In fact, there is no way to enter this code normally, because when you enter the second Substring and then enter "(",  the program will crash and exit immediately

[Modified 2 years ago]

Comments (1)

Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA


Thank you for reporting this.  We've fixed the issue for the upcoming maintenance release.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.