Click here to Skip to main content
15,917,928 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionXMLDocument loop in textboxes with same Attribute name. [modified] Pin
elroy7226-Apr-09 9:37
elroy7226-Apr-09 9:37 
AnswerRe: XMLDocument loop in textboxes with same Attribute name. Pin
Christian Graus26-Apr-09 13:14
protectorChristian Graus26-Apr-09 13:14 
GeneralRe: XMLDocument loop in textboxes with same Attribute name. Pin
elroy7226-Apr-09 13:50
elroy7226-Apr-09 13:50 
GeneralRe: XMLDocument loop in textboxes with same Attribute name. Pin
Christian Graus26-Apr-09 14:06
protectorChristian Graus26-Apr-09 14:06 
Question[Message Deleted] Pin
julez12326-Apr-09 4:20
julez12326-Apr-09 4:20 
AnswerRe: HELP!!! Pin
Dave Kreskowiak26-Apr-09 10:53
mveDave Kreskowiak26-Apr-09 10:53 
AnswerRe: HELP!!! Pin
Christian Graus26-Apr-09 11:02
protectorChristian Graus26-Apr-09 11:02 
Questionneed help: working with dynamic created listbox [modified] Pin
StevenMertens25-Apr-09 23:57
StevenMertens25-Apr-09 23:57 
Hello,

In the project I am currently working on I need to create a few listboxes dynamicly. This, so far, is no problem:

The declaration:
Public newlistbox() As ListBox


ReDim Preserve newlistbox(chatnummer)
newlistbox(chatnummer) = New ListBox
Me.Controls.Add(newlistbox(chatnummer))
Me.newlistbox(chatnummer).Location = New Point(100, 150)
Me.newlistbox(chatnummer).Size = New Size(105, newrichbox(chatnummer).Height)
newlistbox(chatnummer).Name = newchannel


This part works fine, but now I want to perform an action when the listbox has been double clicked.
Normally you would use something like
.... Handles newlistbox.DoubleClick

But this gives an error.

I have seen a post using withevents as declaration but this doesnt work for me since i am using an array listbox.
Any ideas on how i can do this?
I am working with vb.net 2008

modified on Sunday, April 26, 2009 6:09 AM

AnswerRe: need help: working with dynamic created listbox Pin
Luc Pattyn26-Apr-09 0:50
sitebuilderLuc Pattyn26-Apr-09 0:50 
GeneralRe: need help: working with dynamic created listbox Pin
StevenMertens26-Apr-09 0:58
StevenMertens26-Apr-09 0:58 
GeneralRe: need help: working with dynamic created listbox Pin
Luc Pattyn26-Apr-09 2:06
sitebuilderLuc Pattyn26-Apr-09 2:06 
QuestionRichTextBox and Image Alignment Pin
Alan Burkhart25-Apr-09 17:54
Alan Burkhart25-Apr-09 17:54 
QuestionProperty for user defined control Pin
jainga1021325-Apr-09 17:20
jainga1021325-Apr-09 17:20 
AnswerRe: Property for user defined control Pin
Dave Kreskowiak26-Apr-09 10:52
mveDave Kreskowiak26-Apr-09 10:52 
QuestionHow to find a file in a certain directory Pin
cjfusion25-Apr-09 9:28
cjfusion25-Apr-09 9:28 
AnswerRe: How to find a file in a certain directory Pin
Eslam Afifi25-Apr-09 12:35
Eslam Afifi25-Apr-09 12:35 
GeneralRe: How to find a file in a certain directory Pin
cjfusion25-Apr-09 13:21
cjfusion25-Apr-09 13:21 
GeneralRe: How to find a file in a certain directory Pin
Dave Kreskowiak26-Apr-09 10:51
mveDave Kreskowiak26-Apr-09 10:51 
GeneralRe: How to find a file in a certain directory Pin
cjfusion26-Apr-09 10:59
cjfusion26-Apr-09 10:59 
QuestionStumped on VB 6.0 LoadPicture function Pin
ymilan25-Apr-09 6:26
ymilan25-Apr-09 6:26 
AnswerRe: Stumped on VB 6.0 LoadPicture function Pin
Christian Graus25-Apr-09 11:31
protectorChristian Graus25-Apr-09 11:31 
GeneralRe: Stumped on VB 6.0 LoadPicture function Pin
ymilan25-Apr-09 12:35
ymilan25-Apr-09 12:35 
GeneralRe: Stumped on VB 6.0 LoadPicture function Pin
Christian Graus25-Apr-09 13:26
protectorChristian Graus25-Apr-09 13:26 
GeneralRe: Stumped on VB 6.0 LoadPicture function Pin
ymilan26-Apr-09 6:01
ymilan26-Apr-09 6:01 
GeneralRe: Stumped on VB 6.0 LoadPicture function Pin
Christian Graus26-Apr-09 11:35
protectorChristian Graus26-Apr-09 11:35 

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.