View Single Post
 
Old 08-16-2017, 08:20 AM
Goggy's Avatar
Goggy Goggy is offline
Contributor
 
Join Date: Sep 2005
Location: Enschede,The Netherlands
Posts: 670
Default

both your properties are recursively setting them self.

Code:
Public Property X() As String 
		Get
			Return Me.X
		End Get
		Set(ByVal value As String)
			Me.X = value
		End Set
	End Property
To sove this, try some thing like the following


Code:
Private m_X as String 

Public Property X() As String 
		Get
			Return Me.m_X
		End Get
		Set(ByVal value As String)
			Me.m_X = value
		End Set
	End Property
__________________
As finishing touch, god created the Dutch!

utterly useless, but always trying to help
Reply With Quote