Kim,
In addition to the others comments.
Type in VB6 is now Structure in VB.NET.
Integer in VB6 is now Short in VB.NET
Long in VB6 is now Integer in VB.NET
String * CCHDEVICENAME in VB6 is not supported per se in VB.NET, you can use
the Microsoft.VisualBasic.VBFixedStringAttribute in its place, however check
the online help for the proper usage & when it is actually used.
Hope this helps
Jay
"Kim Madsen" <kh@microsoft.com> wrote in message
news:eh**************@TK2MSFTNGP09.phx.gbl...
Hi, in VB I could create types like :
Public Type DEVMODE
dmDeviceName As String * CCHDEVICENAME
dmSpecVersion As Integer
dmPelsHeight As Long
dmDisplayFlags As Long
dmDisplayFrequency As Long
End Type
How do I do in VB.NET ??
Best regards
Kim