Click here to Skip to main content
15,920,602 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Simple Syntax Question Pin
Anonymous27-May-04 14:51
Anonymous27-May-04 14:51 
GeneralVarPtr Function Pin
Pugman81227-May-04 12:29
Pugman81227-May-04 12:29 
GeneralRe: VarPtr Function Pin
Dave Kreskowiak28-May-04 2:37
mveDave Kreskowiak28-May-04 2:37 
GeneralData type conversion help needed when Using a VC++ dll with VB.NET Pin
Freddie Code27-May-04 12:23
Freddie Code27-May-04 12:23 
GeneralInVisble specify Column in ListView Ctrl Pin
skoizumi2911027-May-04 11:57
sussskoizumi2911027-May-04 11:57 
GeneralRe: InVisble specify Column in ListView Ctrl Pin
Dave Kreskowiak28-May-04 2:11
mveDave Kreskowiak28-May-04 2:11 
GeneralRe: InVisble specify Column in ListView Ctrl Pin
skoizumi2911028-May-04 15:02
sussskoizumi2911028-May-04 15:02 
GeneralSelecting a value from a combo box using code Pin
mincefish27-May-04 3:40
mincefish27-May-04 3:40 
I've got an issue with trying to select a value from a combo box, using code.

I have a form that opens up, with a bunch of controls. This form represents a record in a table. I'm currently using a dataset to go and get that data, and then populating the controls with the individual values from that dataset.

There is a combo box on the form that is populated using an object that holds the ID of the value, and the display text. These are then assigned to the combo box as ValueMember and DisplayMember respectively.

When I ask for the SelectedValue, I get the ValueMember, which is all well and good.

However, what I want to do, is when the form loads, I want to return a dataset containing the ID that relates the ValueMember of the combo box, and select the value in the combo box that relates to that value, so that I get the corresponding DisplayMember.

I've got no idea how to do this at the moment, and it's driving me potty! Anyone...anyone... Bueller!

TIA

Tom
GeneralRe: Selecting a value from a combo box using code Pin
Dave Kreskowiak27-May-04 4:26
mveDave Kreskowiak27-May-04 4:26 
GeneralRe: Selecting a value from a combo box using code Pin
mincefish27-May-04 6:10
mincefish27-May-04 6:10 
GeneralInterfacing COM Port with PC Pin
Lameta27-May-04 2:46
Lameta27-May-04 2:46 
GeneralRe: Interfacing COM Port with PC Pin
Dave Kreskowiak27-May-04 3:26
mveDave Kreskowiak27-May-04 3:26 
GeneralRe: Interfacing COM Port with PC Pin
Prerak28-May-04 2:50
Prerak28-May-04 2:50 
GeneralInterfacing COM Port with PC Pin
Lameta27-May-04 2:42
Lameta27-May-04 2:42 
GeneralRe: Interfacing COM Port with PC Pin
Dave Kreskowiak27-May-04 2:50
mveDave Kreskowiak27-May-04 2:50 
GeneralCostumizing .NET PropertyGrid at runtime Pin
thlund26-May-04 22:55
thlund26-May-04 22:55 
GeneralNeed help sending SMS with VB.NET Pin
Werner Vos26-May-04 22:05
Werner Vos26-May-04 22:05 
GeneralRe: Need help sending SMS with VB.NET Pin
Dave Kreskowiak27-May-04 1:01
mveDave Kreskowiak27-May-04 1:01 
GeneralFree Visual Studio VB.NET Std. Edition Pin
TigerNinja_26-May-04 16:13
TigerNinja_26-May-04 16:13 
GeneralRe: Free Visual Studio VB.NET Std. Edition Pin
Aaron Eldreth27-May-04 9:58
Aaron Eldreth27-May-04 9:58 
Generalvariable pointers in .net Pin
Pugman81226-May-04 13:11
Pugman81226-May-04 13:11 
GeneralRe: variable pointers in .net Pin
Colin Angus Mackay26-May-04 13:38
Colin Angus Mackay26-May-04 13:38 
GeneralCheck if string is valid using regular expresion Pin
viettho26-May-04 12:43
viettho26-May-04 12:43 
GeneralRe: Check if string is valid using regular expresion Pin
Mike Ellison26-May-04 18:44
Mike Ellison26-May-04 18:44 
GeneralRe: Check if string is valid using regular expresion Pin
Anonymous27-May-04 13:10
Anonymous27-May-04 13:10 

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.