Hi,
The dotnet integer is the same as the old long. Replace any longs with
integers.
Structure IATaskListRecordType
Dim lID As Integer
<VBFixedString(IATASKLISTSTRSIZE)> Dim strName As String
End Structure
Ken
---------------
"Dan" <Da*@discussions.microsoft.com> wrote in message
news:6C**********************************@microsof t.com:
Good Day All,
I have the following VB6 Type
Type IAListRecordType
lID As Long
strName As String * IALISTSTRSIZE
End Type
I need to convert this to VB .NET. How do I do this? I have come up with
Structure IATaskListRecordType
Dim lID As Long
Dim strName As String * IATASKLISTSTRSIZE
End Structure
However, the * IATASKLISTSTRSIZE will not compile. I get a message
"End Of Statement Expected"
Any suggestions would be appreciated. Thanks!
Dan
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (
http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.3.0 - Release Date: 6/12/2004