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

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.
 
O

\(O\)enone

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top