Click here to Skip to main content
15,898,373 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Making a CommonDialog the TopMost form Pin
cwayman18-Oct-04 22:39
cwayman18-Oct-04 22:39 
GeneralRe: Making a CommonDialog the TopMost form Pin
Anonymous18-Oct-04 22:55
Anonymous18-Oct-04 22:55 
GeneralRe: Making a CommonDialog the TopMost form Pin
cwayman18-Oct-04 23:58
cwayman18-Oct-04 23:58 
GeneralRe: Making a CommonDialog the TopMost form Pin
Anonymous19-Oct-04 0:16
Anonymous19-Oct-04 0:16 
GeneralComparing Two (Time) Text Fields Pin
Member 145028518-Oct-04 18:11
Member 145028518-Oct-04 18:11 
GeneralRe: Comparing Two (Time) Text Fields Pin
Anonymous18-Oct-04 18:25
Anonymous18-Oct-04 18:25 
GeneralRe: Comparing Two (Time) Text Fields Pin
J4amieC18-Oct-04 22:47
J4amieC18-Oct-04 22:47 
Generalselecting items in ListBox Pin
Nadroj18-Oct-04 16:55
Nadroj18-Oct-04 16:55 
i want to make a button on my form which will select all items in a listbox (and another button to deselect all). im not sure how to do this. also, i would like to do it with a for.. each loop, as im new to them..
not sure how to, in code, set the selecteditems (or whatever the property is, not sure which one to use).
Dim item As String
For Each item In ListBox1.Items
       ListBox1.SelectedItem = ListBox1.Items.IndexOf(item)
Next
is as far as iv got, but it doesnt seem to do anything.. any help appreciated

------------------------
Jordan.
III
GeneralRe: selecting items in ListBox Pin
J4amieC18-Oct-04 22:43
J4amieC18-Oct-04 22:43 
GeneralRe: selecting items in ListBox Pin
Nadroj19-Oct-04 17:06
Nadroj19-Oct-04 17:06 
GeneralTrying to update record using OleDb Pin
bexarcounty18-Oct-04 11:08
bexarcounty18-Oct-04 11:08 
GeneralRe: Trying to update record using OleDb Pin
Desi Bravo22-Oct-04 7:05
Desi Bravo22-Oct-04 7:05 
GeneralRe: Trying to update record using OleDb Pin
bexarcounty25-Oct-04 3:05
bexarcounty25-Oct-04 3:05 
GeneralRe: Trying to update record using OleDb Pin
Anonymous25-Oct-04 7:01
Anonymous25-Oct-04 7:01 
GeneralRe: Trying to update record using OleDb Pin
Desi Bravo25-Oct-04 7:07
Desi Bravo25-Oct-04 7:07 
GeneralVisual Basic and Microsoft Access Pin
underb@asd20.org18-Oct-04 10:07
underb@asd20.org18-Oct-04 10:07 
GeneralRe: Visual Basic and Microsoft Access Pin
Desi Bravo25-Oct-04 7:14
Desi Bravo25-Oct-04 7:14 
Generalmask in column of datagrid Pin
Britnt718-Oct-04 8:06
Britnt718-Oct-04 8:06 
GeneralRe: mask in column of datagrid Pin
Desi Bravo25-Oct-04 7:48
Desi Bravo25-Oct-04 7:48 
GeneralRe: mask in column of datagrid Pin
Britnt725-Oct-04 8:21
Britnt725-Oct-04 8:21 
GeneralRe: mask in column of datagrid Pin
Desi Bravo26-Oct-04 11:52
Desi Bravo26-Oct-04 11:52 
GeneralRe: mask in column of datagrid Pin
Desi Bravo1-Nov-04 13:04
Desi Bravo1-Nov-04 13:04 
GeneralRe: mask in column of datagrid Pin
Britnt72-Nov-04 2:09
Britnt72-Nov-04 2:09 
GeneralIssues with aysynchronous socket! Pin
Anonymous18-Oct-04 6:09
Anonymous18-Oct-04 6:09 
GeneralRe: Issues with aysynchronous socket! Pin
Anonymous21-Oct-04 6:17
Anonymous21-Oct-04 6:17 

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.