VB.net equilvalent for const XXX = "MYCONST" in VB6

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In VB6 we define a constant such as:
Private Const DefaultXXX As String = "ABCD" for example.

How do we achieve the same in VB.net?

Thanks.
 
ykffc said:
In VB6 we define a constant such as:
Private Const DefaultXXX As String = "ABCD" for example.

How do we achieve the same in VB.net?

Exactly the same... Are you getting an error message?
 
Back
Top