Re: Types
From: Jay B. Harlow [MVP - Outlook] (Jay_Harlow_MVP_at_msn.com)
Date: 04/26/04
- Next message: Patrice: "Re: Web.config file"
- Previous message: ruca: "Re: Web.config file"
- In reply to: Kim Madsen: "Types"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Apr 2004 09:22:25 -0500
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:ehZRLt4KEHA.2784@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
>
>
- Next message: Patrice: "Re: Web.config file"
- Previous message: ruca: "Re: Web.config file"
- In reply to: Kim Madsen: "Types"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|