Click here to Skip to main content
15,923,789 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Corrupt VB.NET Installation?? Pin
Dave Kreskowiak2-Jul-07 12:45
mveDave Kreskowiak2-Jul-07 12:45 
GeneralRe: Corrupt VB.NET Installation?? Pin
RickMagenta3-Jul-07 7:52
RickMagenta3-Jul-07 7:52 
QuestionPassing a DataTable to a Sub Pin
HurricaneDan2-Jul-07 7:45
HurricaneDan2-Jul-07 7:45 
AnswerRe: Passing a DataTable to a Sub Pin
Dave Kreskowiak2-Jul-07 8:22
mveDave Kreskowiak2-Jul-07 8:22 
GeneralRe: Passing a DataTable to a Sub Pin
HurricaneDan2-Jul-07 8:49
HurricaneDan2-Jul-07 8:49 
GeneralRe: Passing a DataTable to a Sub Pin
Dave Kreskowiak2-Jul-07 9:23
mveDave Kreskowiak2-Jul-07 9:23 
GeneralRe: Passing a DataTable to a Sub Pin
HurricaneDan2-Jul-07 10:08
HurricaneDan2-Jul-07 10:08 
GeneralRe: Passing a DataTable to a Sub Pin
Dave Kreskowiak2-Jul-07 10:13
mveDave Kreskowiak2-Jul-07 10:13 
HurricaneDan wrote:
This way I am not making another call to the database when I should have the data in a DataTable already


Great! Why make another round trip if you already have the data. All you have to do if Filter the datatable by the DiseaseCode and you should get a single row returned.

HurricaneDan wrote:
Also, if I place a message box in the cboDiseaseName_SelectedValueChanged Sub I will get that message box to pop up about 4 times before the form actually loads.


SelectedValue will get fired once after the combo is bound to the data. If you have a MsgBox in each combobox's SelectedValueChanged event, this is why you're getting 4 Message Boxs.

No, there is no "better method" of doing this.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Passing a DataTable to a Sub Pin
HurricaneDan2-Jul-07 14:41
HurricaneDan2-Jul-07 14:41 
GeneralRe: Passing a DataTable to a Sub Pin
Dave Kreskowiak3-Jul-07 2:01
mveDave Kreskowiak3-Jul-07 2:01 
QuestionGet serial number of monitor Pin
ctlqt122-Jul-07 7:08
ctlqt122-Jul-07 7:08 
AnswerRe: Get serial number of monitor Pin
Dave Kreskowiak2-Jul-07 8:32
mveDave Kreskowiak2-Jul-07 8:32 
QuestionVirtual keyboard window focus and SendMessage. Pin
remarkpk112-Jul-07 6:20
remarkpk112-Jul-07 6:20 
Questionbutton on a datagrid cell Pin
cutequencher2-Jul-07 6:19
cutequencher2-Jul-07 6:19 
AnswerRe: button on a datagrid cell Pin
remarkpk112-Jul-07 6:26
remarkpk112-Jul-07 6:26 
GeneralRe: button on a datagrid cell Pin
cutequencher2-Jul-07 6:29
cutequencher2-Jul-07 6:29 
GeneralRe: button on a datagrid cell Pin
remarkpk112-Jul-07 6:34
remarkpk112-Jul-07 6:34 
QuestionHide a property that isn't overridable... Pin
Nick Rioux2-Jul-07 3:46
Nick Rioux2-Jul-07 3:46 
AnswerRe: Hide a property that isn't overridable... Pin
originSH2-Jul-07 5:07
originSH2-Jul-07 5:07 
GeneralRe: Hide a property that isn't overridable... Pin
Nick Rioux2-Jul-07 5:14
Nick Rioux2-Jul-07 5:14 
GeneralRe: Hide a property that isn't overridable... Pin
originSH2-Jul-07 5:38
originSH2-Jul-07 5:38 
GeneralRe: Hide a property that isn't overridable... Pin
Luc Pattyn2-Jul-07 6:31
sitebuilderLuc Pattyn2-Jul-07 6:31 
GeneralRe: Hide a property that isn't overridable... Pin
originSH2-Jul-07 22:44
originSH2-Jul-07 22:44 
AnswerRe: Hide a property that isn't overridable... [modified] Pin
TwoFaced2-Jul-07 6:41
TwoFaced2-Jul-07 6:41 
QuestionConvert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 3:31
professionalVimalsoft(Pty) Ltd2-Jul-07 3:31 

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.