Click here to Skip to main content
15,915,848 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem while executing client-server program Pin
DaveAuld21-Mar-09 21:28
professionalDaveAuld21-Mar-09 21:28 
QuestionProblem with catching exceptions Pin
Badmafia21-Mar-09 14:57
Badmafia21-Mar-09 14:57 
AnswerRe: Problem with catching exceptions Pin
nlarson1121-Mar-09 15:45
nlarson1121-Mar-09 15:45 
AnswerRe: Problem with catching exceptions Pin
George B Gilbert21-Mar-09 16:45
George B Gilbert21-Mar-09 16:45 
QuestionHow could you select an item in listview from a different tabpage? Pin
JUNEYT21-Mar-09 13:48
JUNEYT21-Mar-09 13:48 
AnswerRe: How could you select an item in listview from a different tabpage? Pin
George B Gilbert21-Mar-09 17:41
George B Gilbert21-Mar-09 17:41 
GeneralRe: How could you select an item in listview from a different tabpage? Pin
JUNEYT22-Mar-09 0:51
JUNEYT22-Mar-09 0:51 
GeneralRe: How could you select an item in listview from a different tabpage? Pin
George B Gilbert22-Mar-09 5:22
George B Gilbert22-Mar-09 5:22 
Two items come to mind while reviewing the code.

1. The Listview1.SelectedItems.Clear statement in the ToolStripComboBox2_SelectedIndexChanged Sub appears to be unnecessary. If the listview MultiSelect property is set to False as it should be, the user's previous selection will remain selected until a new selection is made and the "ListView1.Items(ICount).Selected = True" statement is executed.

2. What is happening in the PopulateSearchBox procedure that is called in the TabPage5.GotFocus event? Is there something going on in that procedure that is affecting the listview item selection? Since the listview control is one of the parameters for that procedure, it looks suspect.

I think that exhausts my ideas on this issue. The only other suggestion I have is to set an appropriate Breakpoint and walk through the code to hopefully find where the listview selection is being lost.
QuestionWriting an Excel table to a DataTable / The values from Excel-cells with "date"-format are not assumed Pin
TheSolid21-Mar-09 3:19
TheSolid21-Mar-09 3:19 
AnswerSolved: Writing an Excel table to a DataTable / The values from Excel-cells with "date"-format are not assumed [modified] Pin
TheSolid21-Mar-09 21:56
TheSolid21-Mar-09 21:56 
Questionabout MDI child form. Pin
p_m_kanthi21-Mar-09 3:03
p_m_kanthi21-Mar-09 3:03 
AnswerRe: about MDI child form. Pin
DaveAuld21-Mar-09 3:20
professionalDaveAuld21-Mar-09 3:20 
AnswerRe: about MDI child form. Pin
nazimghori21-Mar-09 7:56
nazimghori21-Mar-09 7:56 
QuestionProblem with check box Pin
nazimghori21-Mar-09 2:57
nazimghori21-Mar-09 2:57 
AnswerRe: Problem with check box Pin
DaveAuld21-Mar-09 3:38
professionalDaveAuld21-Mar-09 3:38 
GeneralRe: Problem with check box Pin
nazimghori21-Mar-09 4:05
nazimghori21-Mar-09 4:05 
AnswerRe: Problem with check box Pin
tech60321-Mar-09 5:52
tech60321-Mar-09 5:52 
GeneralRe: Problem with check box Pin
DaveAuld21-Mar-09 6:25
professionalDaveAuld21-Mar-09 6:25 
GeneralRe: Problem with check box Pin
nazimghori21-Mar-09 7:50
nazimghori21-Mar-09 7:50 
QuestionRe: Problem with check box Pin
nazimghori21-Mar-09 7:59
nazimghori21-Mar-09 7:59 
AnswerRe: Problem with check box Pin
DaveAuld21-Mar-09 11:05
professionalDaveAuld21-Mar-09 11:05 
QuestionRe: Problem with check box Pin
nazimghori21-Mar-09 18:23
nazimghori21-Mar-09 18:23 
AnswerRe: Problem with check box [modified] Pin
DaveAuld21-Mar-09 21:54
professionalDaveAuld21-Mar-09 21:54 
QuestionRe: Problem with check box Pin
nazimghori21-Mar-09 22:58
nazimghori21-Mar-09 22:58 
QuestionRe: Problem with check box Pin
nazimghori21-Mar-09 23:11
nazimghori21-Mar-09 23:11 

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.