Click here to Skip to main content
16,007,277 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to know the right click event? Pin
rushing12-May-05 21:12
rushing12-May-05 21:12 
AnswerRe: How to know the right click event? Pin
carlos_rocha12-May-05 22:34
carlos_rocha12-May-05 22:34 
GeneralMSMQ problem Pin
nitin_ion12-May-05 20:42
nitin_ion12-May-05 20:42 
GeneralDownloading a CSV file from a password protected ( form's authentication) site. Screen Scrapig Method Pin
rvrajvarshan12-May-05 18:50
rvrajvarshan12-May-05 18:50 
Generalvb/winsock programming Pin
clikemoon12-May-05 18:32
clikemoon12-May-05 18:32 
Generalvb.net and ms word Pin
87612-May-05 16:58
87612-May-05 16:58 
QuestionHow to pass arraylist to the winform? Pin
rushing12-May-05 16:23
rushing12-May-05 16:23 
AnswerRe: How to pass arraylist to the winform? Pin
Scott Page20-May-05 6:57
professionalScott Page20-May-05 6:57 
Hi rushing,

It looks like you did not initialize the arrChannel ArrayList properly. In your code you have:

public arrChannel as arraylist

If you do not assign another ArrayList to arrChannel then you will get an error because the arrChannel variable has not yet been instanciated.

To correct your code, you should make the arrChannel a "New" ArrayList. Then you can "Add" to is as you are trying to do.

This should fix your problem:

Public arrChannel As New ArrayList

Now when you "add" to the arrChannel ArrayList, you should not get any errors.

arrChannel.Add(ch)
GeneralRe: How to pass arraylist to the winform? Pin
rushing23-May-05 17:08
rushing23-May-05 17:08 
Generalsearch database and display data on the screen Pin
vaiology12-May-05 16:17
vaiology12-May-05 16:17 
GeneralRe: search database and display data on the screen Pin
numbrel14-May-05 11:19
numbrel14-May-05 11:19 
GeneralSystem.Security.Permissions Pin
MagicCity12-May-05 10:45
MagicCity12-May-05 10:45 
GeneralRe: System.Security.Permissions Pin
Dave Kreskowiak12-May-05 12:40
mveDave Kreskowiak12-May-05 12:40 
GeneralSending SMS in VB6 Pin
rifan12-May-05 9:54
rifan12-May-05 9:54 
GeneralRe: Sending SMS in VB6 Pin
Dave Kreskowiak12-May-05 12:31
mveDave Kreskowiak12-May-05 12:31 
GeneralRe: Sending SMS in VB6 Pin
rifan12-May-05 16:33
rifan12-May-05 16:33 
GeneralRe: Sending SMS in VB6 Pin
Dave Kreskowiak13-May-05 0:51
mveDave Kreskowiak13-May-05 0:51 
GeneralRe: Sending SMS in VB6 Pin
jonathan1512-May-05 22:54
jonathan1512-May-05 22:54 
GeneralVB.Net Module coding Pin
directred12-May-05 8:04
directred12-May-05 8:04 
GeneralRe: VB.Net Module coding Pin
Dave Kreskowiak12-May-05 8:38
mveDave Kreskowiak12-May-05 8:38 
GeneralUrgent - Drag and Drop Help Needed Pin
BritishEmpire12-May-05 6:30
BritishEmpire12-May-05 6:30 
GeneralRe: Urgent - Drag and Drop Help Needed Pin
Scott Page24-May-05 3:42
professionalScott Page24-May-05 3:42 
GeneralDetect Unicode/non-ascii characters from a file stream Pin
ImranIBM12-May-05 6:28
ImranIBM12-May-05 6:28 
GeneralRe: Detect Unicode/non-ascii characters from a file stream Pin
Scott Page25-May-05 14:42
professionalScott Page25-May-05 14:42 
GeneralVB.Net error - An unhandled exception of type occurred Pin
directred12-May-05 5:46
directred12-May-05 5:46 

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.