Click here to Skip to main content
15,914,500 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Freeing Memory Pin
Paul Riley27-Oct-02 22:33
Paul Riley27-Oct-02 22:33 
GeneralRe: Freeing Memory Pin
mikasa30-Nov-02 9:27
mikasa30-Nov-02 9:27 
Generaladd numbers from a listbox Pin
Golfmaltais27-Oct-02 9:42
sussGolfmaltais27-Oct-02 9:42 
GeneralRe: add numbers from a listbox Pin
Paul Riley27-Oct-02 9:46
Paul Riley27-Oct-02 9:46 
GeneralRe: add numbers from a listbox Pin
Paul Riley27-Oct-02 10:24
Paul Riley27-Oct-02 10:24 
GeneralRe: add numbers from a listbox Pin
Paul Riley27-Oct-02 10:36
Paul Riley27-Oct-02 10:36 
Generaladd numbers from listbox to a textbox Pin
Golfmaltais27-Oct-02 4:17
sussGolfmaltais27-Oct-02 4:17 
GeneralRe: add numbers from listbox to a textbox Pin
Andy H27-Oct-02 6:38
Andy H27-Oct-02 6:38 
Try specifying the property of the object you are referencing in:

sum = sum + ListBox2.Items(ListBox2.SelectedIndex).

In VB6 each data type had a default property, and I don't think VB.NET has this so you need to indicate which property you are reading from. Is it numeric?

HTH

Andy
GeneralVS.Net Collection Editor Pin
zorifila27-Oct-02 2:42
zorifila27-Oct-02 2:42 
GeneralRead Summary Information out of WordFiles Pin
mkrelli27-Oct-02 1:20
mkrelli27-Oct-02 1:20 
GeneralA question of a newbie Pin
smartnose26-Oct-02 15:55
smartnose26-Oct-02 15:55 
GeneralRe: A question of a newbie Pin
David Stone26-Oct-02 16:19
sitebuilderDavid Stone26-Oct-02 16:19 
GeneralRe: A question of a newbie Pin
Daniel Turini27-Oct-02 2:51
Daniel Turini27-Oct-02 2:51 
GeneralVB.Net Encryption Class Pin
JeromeH25-Oct-02 14:00
JeromeH25-Oct-02 14:00 
QuestionHow to access Registry in VB.NET? Pin
ccoppin24-Oct-02 15:51
ccoppin24-Oct-02 15:51 
AnswerRe: How to access Registry in VB.NET? Pin
Andy H25-Oct-02 0:25
Andy H25-Oct-02 0:25 
GeneralRe: How to access Registry in VB.NET? Pin
Nic Rowan25-Oct-02 0:49
Nic Rowan25-Oct-02 0:49 
GeneralRe: How to access Registry in VB.NET? Pin
Nish Nishant26-Oct-02 16:22
sitebuilderNish Nishant26-Oct-02 16:22 
Questionhow to do input validation in VB.NET? Pin
drmzunlimited24-Oct-02 10:38
drmzunlimited24-Oct-02 10:38 
AnswerRe: how to do input validation in VB.NET? Pin
Nick Parker25-Oct-02 5:32
protectorNick Parker25-Oct-02 5:32 
QuestionHow do I display a video file on a form? Pin
James Williams24-Oct-02 8:44
James Williams24-Oct-02 8:44 
AnswerRe: How do I display a video file on a form? Pin
Jerome Conus24-Oct-02 23:14
Jerome Conus24-Oct-02 23:14 
QuestionInterpret Enter as Tab? Pin
dazinith24-Oct-02 3:54
dazinith24-Oct-02 3:54 
AnswerRe: Interpret Enter as Tab? Pin
Anonymous24-Oct-02 15:48
Anonymous24-Oct-02 15:48 
Generallow resource message Pin
Notorious SMC23-Oct-02 20:42
sussNotorious SMC23-Oct-02 20:42 

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.