I have created many enterprise desktop applications, and am trying to get up to speed on mobile development - have several ideas that I want to make into applications for my WinMo smartphone.
Anyway, here's what I need help with. I am trying to utilize the .NET Compact Framework Listbox control, and whenever I try adding something into the list it tells me that whatever I am adding is not an "item" type, which is true, usually I am trying to add a text string. The code that I typically use is
I don't get any syntax errors, or anything with wrong number of arguments, so I must be doing something wrong, and I haven't been able to find anything on MSDN or a general search of the internet. If someone is able to help me out with this, would it be possible to point me to a reliable website that will help with some of the other basics with mobile development for the Compact Framework?
Page 1 of 1
2 Replies - 4721 Views - Last Post: 20 April 2009 - 09:38 PM
Replies To: .NET compact framework listbox in VB?
Re: .NET compact framework listbox in VB?
Posted 15 April 2009 - 03:30 PM
I don't know if you still need help with this after so long, but when using a listbox in VB, you need to use listbox1.items.add(obj), or listbox.items.insert(index,object), and this should add the string to your listbox.
This post has been edited by Mezius: 15 April 2009 - 03:34 PM
Page 1 of 1