in vb6 we can declaration arecord like this
Type x
a As Integer
b As String
End Type

and deal to this record by
dim s as x
s.a=1
s.b="hi"

but i cant do that in vb.net
any one can help me
please

Use

Structure X
		Public a As Integer
		Public b As String
	End Structure

Hope this helps

Using a structure will give you this functionality.

dim structure myStruct
a As Integer
b As String
end structure

dim somename as myStruct

somename.a=100
somename.b="This is a string int the structure."

@dmacalm: Yes, thats what I proposed.
@rami2005: If this solved your question, please be so kind to mark this thread as solved.
If you have more questions, do not hesitate to start new threads.