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

Visual Basic

 
AnswerRe: System.Xml.XmlException Pin
Dave Kreskowiak20-Feb-06 4:58
mveDave Kreskowiak20-Feb-06 4:58 
QuestionAccessing Mainframe from VB Pin
niraj_mall19-Feb-06 23:00
niraj_mall19-Feb-06 23:00 
AnswerRe: Accessing Mainframe from VB Pin
Dave Kreskowiak20-Feb-06 4:53
mveDave Kreskowiak20-Feb-06 4:53 
QuestionVB. Net OO? Pin
MatthysDT19-Feb-06 22:50
MatthysDT19-Feb-06 22:50 
AnswerRe: VB. Net OO? Pin
Roy Heil20-Feb-06 3:24
professionalRoy Heil20-Feb-06 3:24 
QuestionWhy no event handler for Listbox control? Pin
KaKa'19-Feb-06 22:44
KaKa'19-Feb-06 22:44 
AnswerRe: Why no event handler for Listbox control? Pin
Dave Kreskowiak20-Feb-06 4:48
mveDave Kreskowiak20-Feb-06 4:48 
AnswerRe: Why no event handler for Listbox control? Pin
Craster20-Feb-06 4:54
Craster20-Feb-06 4:54 
You need to define your listbox variable at the class level using the 'withevents' keyword. Here's an example:

<br />
Public Class Form1<br />
    Private WithEvents list1 As ListBox<br />
<br />
    Private Sub Form1_Load(yada,yada) Handles MyBase.Load<br />
        list1 = New ListBox<br />
        list1.Text = "Testing"<br />
    End Sub<br />
End Class<br />


You should find that intellisense will give you the options you were missing.
GeneralRe: Why no event handler for Listbox control? Pin
KaKa'20-Feb-06 15:30
KaKa'20-Feb-06 15:30 
QuestionCompare Two Email in VB.NET Pin
cylix200019-Feb-06 21:42
cylix200019-Feb-06 21:42 
QuestionImplementing BeginUpdate in form? Pin
matsnas19-Feb-06 21:16
matsnas19-Feb-06 21:16 
AnswerRe: Implementing BeginUpdate in form? Pin
Dave Kreskowiak20-Feb-06 4:40
mveDave Kreskowiak20-Feb-06 4:40 
QuestionLoading Command prompt from vb6 Pin
miftha19-Feb-06 20:56
miftha19-Feb-06 20:56 
AnswerRe: Loading Command prompt from vb6 Pin
PremalathaP20-Feb-06 1:16
PremalathaP20-Feb-06 1:16 
AnswerRe: Loading Command prompt from vb6 Pin
Dave Kreskowiak20-Feb-06 4:30
mveDave Kreskowiak20-Feb-06 4:30 
QuestionHELP.. inheriting user controls Pin
john_eight19-Feb-06 16:41
john_eight19-Feb-06 16:41 
Question.net 2005 how to solve warning problem? Pin
ah Chung19-Feb-06 15:16
ah Chung19-Feb-06 15:16 
AnswerRe: .net 2005 how to solve warning problem? Pin
Dave Kreskowiak19-Feb-06 15:35
mveDave Kreskowiak19-Feb-06 15:35 
GeneralRe: .net 2005 how to solve warning problem? Pin
ah Chung19-Feb-06 18:11
ah Chung19-Feb-06 18:11 
QuestionWinforms DataGrid with multi-line column headers - how?! Pin
nzmike19-Feb-06 15:13
nzmike19-Feb-06 15:13 
AnswerRe: Winforms DataGrid with multi-line column headers - how?! Pin
Dave Kreskowiak19-Feb-06 16:51
mveDave Kreskowiak19-Feb-06 16:51 
GeneralRe: Winforms DataGrid with multi-line column headers - how?! Pin
nzmike21-Feb-06 10:48
nzmike21-Feb-06 10:48 
GeneralRe: Winforms DataGrid with multi-line column headers - how?! Pin
Dave Kreskowiak21-Feb-06 15:52
mveDave Kreskowiak21-Feb-06 15:52 
QuestionBackground Compilation Pin
AJ12319-Feb-06 8:02
AJ12319-Feb-06 8:02 
AnswerRe: Background Compilation Pin
Guffa19-Feb-06 8:40
Guffa19-Feb-06 8:40 

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.