Click here to Skip to main content
15,891,253 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Alphanumaric Addition Pin
Saravanan_MCA7-Mar-06 0:23
Saravanan_MCA7-Mar-06 0:23 
AnswerRe: Alphanumaric Addition Pin
Poornima S7-Mar-06 0:39
Poornima S7-Mar-06 0:39 
QuestionCopying databsae table to other databse Pin
ZulnurainAdil5-Mar-06 20:58
ZulnurainAdil5-Mar-06 20:58 
AnswerRe: Copying databsae table to other databse Pin
Vasudevan Deepak Kumar5-Mar-06 23:57
Vasudevan Deepak Kumar5-Mar-06 23:57 
Questionnew project Pin
faimi5-Mar-06 20:50
faimi5-Mar-06 20:50 
AnswerRe: new project Pin
ZulnurainAdil5-Mar-06 21:07
ZulnurainAdil5-Mar-06 21:07 
AnswerRe: new project Pin
Vasudevan Deepak Kumar5-Mar-06 23:58
Vasudevan Deepak Kumar5-Mar-06 23:58 
QuestionHow to add a list items collection property? Pin
KaKa'5-Mar-06 20:12
KaKa'5-Mar-06 20:12 
Hi,

I am creating a webparts control which consists of a listbox and a label. How do we add the 'items' property to the listbox such that when the webparts control is used during design time,the user can add listitems to the listbox at design time using the properties window? (similar to adding items to vb's listbox during design time)

Below is the code snippet:

<bindable(true)> _
Public Property Items() As ListItemCollection
Get
Return ViewState("AddToList")
End Get

Set(ByVal value As ListItemCollection)
ViewState("AddToList") = value
listbox1.DataSource = value
listbox1.DataBind()
End Set
End Property

When the control is dragged onto the form, the List Item Collection Editor window pops ups when I click on the items property. However, after adding list items and clicking the 'ok' button, nothing appears in the listbox. The listitems are not stored.
QuestionUsing frames in VB.Net Pin
mayhem_rules5-Mar-06 20:10
mayhem_rules5-Mar-06 20:10 
QuestionTreeview - Select Pin
digicd15-Mar-06 17:00
digicd15-Mar-06 17:00 
QuestionVirtual Listview Pin
Archer2825-Mar-06 14:18
Archer2825-Mar-06 14:18 
NewsRe: Virtual Listview Pin
FeRtoll5-Mar-06 14:40
FeRtoll5-Mar-06 14:40 
QuestionHow to make a "Boss Key" in Vb .Net ? Pin
Dynamitebox5-Mar-06 11:38
Dynamitebox5-Mar-06 11:38 
AnswerRe: How to make a "Boss Key" in Vb .Net ? Pin
Dave Kreskowiak5-Mar-06 11:59
mveDave Kreskowiak5-Mar-06 11:59 
QuestionRe: How to make a &quot;Boss Key&quot; in Vb .Net ? Pin
Dynamitebox5-Mar-06 22:53
Dynamitebox5-Mar-06 22:53 
QuestionPackaging/Deploying a VB.Net Pin
directred5-Mar-06 8:49
directred5-Mar-06 8:49 
AnswerRe: Packaging/Deploying a VB.Net Pin
H@is@here5-Mar-06 11:32
H@is@here5-Mar-06 11:32 
AnswerRe: Packaging/Deploying a VB.Net Pin
FeRtoll5-Mar-06 14:10
FeRtoll5-Mar-06 14:10 
GeneralRe: Packaging/Deploying a VB.Net Pin
Orcrist6-Mar-06 11:12
Orcrist6-Mar-06 11:12 
AnswerRe: Packaging/Deploying a VB.Net Pin
united185-Mar-06 14:50
united185-Mar-06 14:50 
AnswerRe: Packaging/Deploying a VB.Net Pin
mayhem_rules5-Mar-06 17:04
mayhem_rules5-Mar-06 17:04 
QuestionFormatting textbox out at design time Pin
Scott34155-Mar-06 7:18
Scott34155-Mar-06 7:18 
AnswerRe: Formatting textbox out at design time Pin
Dave Kreskowiak5-Mar-06 7:44
mveDave Kreskowiak5-Mar-06 7:44 
GeneralRe: Formatting textbox out at design time Pin
Scott34155-Mar-06 8:03
Scott34155-Mar-06 8:03 
GeneralRe: Formatting textbox out at design time Pin
Dave Kreskowiak5-Mar-06 8:19
mveDave Kreskowiak5-Mar-06 8:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.