Click here to Skip to main content
16,005,121 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCode to close all child form Pin
Mekong River24-Oct-06 19:00
Mekong River24-Oct-06 19:00 
AnswerRe: Code to close all child form Pin
Dave Kreskowiak25-Oct-06 4:58
mveDave Kreskowiak25-Oct-06 4:58 
GeneralRe: Code to close all child form Pin
Mekong River27-Oct-06 18:00
Mekong River27-Oct-06 18:00 
QuestionAccessing ports of a DVR card Pin
W.A. Dilhara24-Oct-06 18:31
W.A. Dilhara24-Oct-06 18:31 
AnswerRe: Accessing ports of a DVR card Pin
Dave Kreskowiak25-Oct-06 3:23
mveDave Kreskowiak25-Oct-06 3:23 
QuestionCombo Properties & Events Help Please Pin
cgai24-Oct-06 10:14
cgai24-Oct-06 10:14 
AnswerRe: Combo Properties & Events Help Please Pin
Dave Kreskowiak25-Oct-06 3:27
mveDave Kreskowiak25-Oct-06 3:27 
GeneralRe: Combo Properties & Events Help Please Pin
cgai25-Oct-06 5:11
cgai25-Oct-06 5:11 
Hi Dave, thank you for responding ...

Dave Kreskowiak wrote:
cgai wrote:
1. What property do I bind to (or both)? .Text or .SelectedValue ??

You don't bind to anything...


This stuff is so difficult to explain in text ... I probably was not clear. I'm using my "Name" combobox to enter/update a field in my database ... via a TableAdapter in a DataSet. This is a bound control, so I assume there has to be a binding property ... usually .Text or .SelectedValue (but I'm not sure when to use one or the other, or both).

Dave Kreskowiak wrote:
cgai wrote:
4. The SelectedValueChanged event is firing many times, and it seems to change the value I have selected. How best to deal with this event ... also with the SelectedIndex ?


If you've written your code correctly, and used the proper events, you shouldn't be seeing this problem.


I'm sure I have not written my VB code correctly, and might have not set properties & events correctly.

I wonder if you would be able to outline how you would design an implementation to my ComboBox scenario ? Any good references would also be appreciated.

Thank you again ...





SteveH
GeneralRe: Combo Properties & Events Help Please Pin
Dave Kreskowiak25-Oct-06 5:30
mveDave Kreskowiak25-Oct-06 5:30 
GeneralRe: Combo Properties & Events Help Please Pin
cgai25-Oct-06 6:36
cgai25-Oct-06 6:36 
Questionrefresh a form Pin
steve_rm24-Oct-06 7:22
steve_rm24-Oct-06 7:22 
AnswerRe: refresh a form Pin
Dave Kreskowiak24-Oct-06 7:45
mveDave Kreskowiak24-Oct-06 7:45 
QuestionRead an XML file as a datafile Pin
sybux200024-Oct-06 4:52
sybux200024-Oct-06 4:52 
AnswerRe: Read an XML file as a datafile Pin
Dave Kreskowiak24-Oct-06 5:04
mveDave Kreskowiak24-Oct-06 5:04 
GeneralRe: Read an XML file as a datafile Pin
sybux200025-Oct-06 21:03
sybux200025-Oct-06 21:03 
QuestionOne last hope Pin
Pete Newman24-Oct-06 4:09
Pete Newman24-Oct-06 4:09 
AnswerRe: One last hope Pin
nlarson1124-Oct-06 4:15
nlarson1124-Oct-06 4:15 
GeneralRe: One last hope Pin
Pete Newman24-Oct-06 4:23
Pete Newman24-Oct-06 4:23 
GeneralRe: One last hope Pin
Pete Newman24-Oct-06 4:25
Pete Newman24-Oct-06 4:25 
GeneralRe: One last hope Pin
Pete Newman24-Oct-06 4:44
Pete Newman24-Oct-06 4:44 
GeneralRe: One last hope [modified] Pin
nlarson1124-Oct-06 4:52
nlarson1124-Oct-06 4:52 
QuestionStatus Message Pin
jds120724-Oct-06 3:16
jds120724-Oct-06 3:16 
AnswerRe: Status Message Pin
nlarson1124-Oct-06 4:19
nlarson1124-Oct-06 4:19 
GeneralRe: Status Message Pin
jds120724-Oct-06 4:46
jds120724-Oct-06 4:46 
GeneralRe: Status Message Pin
Dave Kreskowiak24-Oct-06 4:55
mveDave Kreskowiak24-Oct-06 4:55 

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.