Click here to Skip to main content
15,907,687 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Displaying data in a gridview programatically Pin
Usharva21-Jan-08 19:34
Usharva21-Jan-08 19:34 
Generalnumber of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 9:23
AAGTHosting21-Jan-08 9:23 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
Steven J Jowett21-Jan-08 10:38
Steven J Jowett21-Jan-08 10:38 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 12:52
AAGTHosting21-Jan-08 12:52 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
Steven J Jowett21-Jan-08 22:16
Steven J Jowett21-Jan-08 22:16 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 12:57
AAGTHosting21-Jan-08 12:57 
GeneralSet ListView Item to Selected Pin
VFaul21-Jan-08 7:45
VFaul21-Jan-08 7:45 
GeneralRe: Set ListView Item to Selected Pin
VFaul21-Jan-08 8:41
VFaul21-Jan-08 8:41 
Here's how you do it:

For Each item As ListViewItem In lv.Items
item.Selected = True
Next
lv.Focus()

Note that you need need to set the focus back to the ListView control, because the items won't be highlighted when the control does not have focus (by default, lv.HideSelection = true). Instead of giving focus back to the control, you could set the lv.HideSelection to false, but the highlight will be gray instead of blue (when the control does not have focus).
GeneralRestricting multiple instance of application Pin
manisghouri21-Jan-08 2:11
manisghouri21-Jan-08 2:11 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 2:26
Steven J Jowett21-Jan-08 2:26 
GeneralRe: Restricting multiple instance of application Pin
manisghouri21-Jan-08 3:11
manisghouri21-Jan-08 3:11 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 4:15
Steven J Jowett21-Jan-08 4:15 
GeneralRe: Restricting multiple instance of application Pin
manisghouri21-Jan-08 10:17
manisghouri21-Jan-08 10:17 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 10:36
Steven J Jowett21-Jan-08 10:36 
GeneralRe: Restricting multiple instance of application Pin
nlarson1121-Jan-08 11:32
nlarson1121-Jan-08 11:32 
QuestionHow to add "" in VB.NET message box Pin
Jats_4ru21-Jan-08 2:06
Jats_4ru21-Jan-08 2:06 
GeneralRe: How to add "" in VB.NET message box Pin
Luc Pattyn21-Jan-08 2:08
sitebuilderLuc Pattyn21-Jan-08 2:08 
AnswerRe: How to add "" in VB.NET message box Pin
Guffa21-Jan-08 12:18
Guffa21-Jan-08 12:18 
GeneralRe: How to add "" in VB.NET message box Pin
Jats_4ru21-Jan-08 23:10
Jats_4ru21-Jan-08 23:10 
GeneralTo check LAN connection Status Pin
saravanan0521-Jan-08 1:19
saravanan0521-Jan-08 1:19 
GeneralCross Post and Multipost. Please ignore this. Pin
Vasudevan Deepak Kumar21-Jan-08 1:36
Vasudevan Deepak Kumar21-Jan-08 1:36 
Questionform designer does not show controls any more though they are still there Pin
mp000121-Jan-08 0:11
mp000121-Jan-08 0:11 
Generalvbnormal Error.... Pin
soniasan21-Jan-08 0:04
soniasan21-Jan-08 0:04 
GeneralRe: vbnormal Error.... Pin
Colin Angus Mackay21-Jan-08 0:46
Colin Angus Mackay21-Jan-08 0:46 
GeneralRe: vbnormal Error.... Pin
divyesh143221-Jan-08 1:14
divyesh143221-Jan-08 1:14 

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.