all groups > vb.net upgrade > september 2005 >
You're in the

vb.net upgrade

group:

listboxproblem


listboxproblem DavideR
9/5/2005 8:31:08 AM
vb.net upgrade:
i'm using w2002 vs2002 sp2
list1.additem(...)
vb6.setitemdata(list1,list1.items.count-1,...)

.... = some value
i recieve the following exception
list1.items can't support 1 arguments
the code is traslated directly from the wizard from vb6 to vb.net
what's wrong?

Re: listboxproblem Herfried K. Wagner [MVP]
9/5/2005 7:28:18 PM
"DavideR" <DavideR@discussions.microsoft.com> schrieb:
[quoted text, click to view]

I would not use this ugly workaround introduced by the upgrade wizard.
Instead, see:

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb.upgrade/msg/90ca44e9479e5bd7>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
AddThis Social Bookmark Button