Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Latebound overload resolution cannot be applied to AddImage because the accessing instance is an int
Rank: Member
Groups: Guest
Joined: 11/5/2007(UTC) Posts: 10
|
Hi, Anyone can help me on this problem? I hv put this: listView.AddImage(thumbnail, _key) into BitmapListItem Class Public Sub EvaluateMethod(ByVal methodIndex As Integer) Implements Aurigma.GraphicsMill.WinControls.IQueueItem.EvaluateMethod but I get this error: Latebound overload resolution cannot be applied to AddImage because the accessing instance is an interface type May I know what happen? Actually I have copy exactly same from [url=http://www.aurigma.com/Support/DocViewer/27/CreatingCustomListItem.htm.aspx][/url]
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hello, It seems that this is a new bug/feature of the Visual Studio 2005 VB.NET compiler (Latebound overload resolution...). Workaround described in the article works well in my test application. I replaced this call: Code:listView.AddImage(thumbnail, _key)
with the following one: Code:listView.AddImage(CType(thumbnail, Aurigma.GraphicsMill.Bitmap), _key)
I hope it will works for you as well. Edited by user Monday, December 17, 2007 9:16:44 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Guest
Joined: 11/5/2007(UTC) Posts: 10
|
Hi Alex, Thanks , it works fine for me as well. :)
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
|
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Latebound overload resolution cannot be applied to AddImage because the accessing instance is an int
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.