Click here to Skip to main content
15,912,756 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionUrgent Plz : How do i write code on CheckBox Click Event? Pin
priya_p23330-Jan-07 16:35
priya_p23330-Jan-07 16:35 
AnswerRe: Urgent Plz : How do i write code on CheckBox Click Event? Pin
Christian Graus30-Jan-07 18:35
protectorChristian Graus30-Jan-07 18:35 
GeneralRe: Urgent Plz : How do i write code on CheckBox Click Event? Pin
priya_p23330-Jan-07 18:59
priya_p23330-Jan-07 18:59 
GeneralRe: Urgent Plz : How do i write code on CheckBox Click Event? Pin
Christian Graus30-Jan-07 19:52
protectorChristian Graus30-Jan-07 19:52 
QuestionRe: Urgent Plz : How do i write code on CheckBox Click Event? Pin
priya_p23330-Jan-07 20:22
priya_p23330-Jan-07 20:22 
AnswerRe: Urgent Plz : How do i write code on CheckBox Click Event? Pin
Christian Graus30-Jan-07 20:45
protectorChristian Graus30-Jan-07 20:45 
AnswerRe: Urgent Plz : How do i write code on CheckBox Click Event? Pin
xstoneheartx30-Jan-07 20:52
xstoneheartx30-Jan-07 20:52 
QuestionCombo binding advice, please Pin
penguin500030-Jan-07 10:58
penguin500030-Jan-07 10:58 
I've used VB.NET 2003 Standard to create a form using the wizard.

On the form, I had a bound textbox - txtUnitOfMeasurement.
This was bound to an MS Access table, tblSuppliersProducts, and a numeric field called UnitOfMeasurement.

This worked fine.

I then upgraded to VB.NET 2005 Express, and swapped my textbox for a combo box, and added the following settings to the combo:

Data Bindings - SelectedValue = tblSupplierProductsBindingSource.UnitOfMeasurement
Data Source = tblUnitOfMeasurementBindingSource
Display Member = UnitOfMeasurement
Value Member = MeasurementID

This too is fine, on my experimental dummy first record - it saves my changes to the UnitOfMeasurement field in tblSuppliersProducts - proving, to me, that it is bound correctly. However, when I press 'Add', it retains my previous combo box choice (which isn't a huge problem) on the new record, but when I fill in the remaining fields, and press Save, I get an error message saying that tblSuppliersProducts.UnitOfMeasurement is null.

I am obviously not doing something properly in between changing my text box for a combo box, but I don't know what.

Can you help?
AnswerRe: Combo binding advice, please Pin
Christian Graus30-Jan-07 11:31
protectorChristian Graus30-Jan-07 11:31 
GeneralRe: Combo binding advice, please Pin
penguin500031-Jan-07 2:42
penguin500031-Jan-07 2:42 
QuestionIs it pssoble to use a VS.net wizard at runtim? Pin
xstoneheartx30-Jan-07 10:36
xstoneheartx30-Jan-07 10:36 
AnswerRe: Is it pssoble to use a VS.net wizard at runtim? Pin
Christian Graus30-Jan-07 11:30
protectorChristian Graus30-Jan-07 11:30 
GeneralRe: Is it pssoble to use a VS.net wizard at runtim? Pin
xstoneheartx30-Jan-07 20:11
xstoneheartx30-Jan-07 20:11 
AnswerRe: How to implement Menu Items Pin
Christian Graus30-Jan-07 10:33
protectorChristian Graus30-Jan-07 10:33 
GeneralRe: How to implement Menu Items Pin
Christian Graus30-Jan-07 13:09
protectorChristian Graus30-Jan-07 13:09 
GeneralRe: How to implement Menu Items Pin
Christian Graus30-Jan-07 15:09
protectorChristian Graus30-Jan-07 15:09 
Questiontimers Pin
jady8430-Jan-07 9:35
jady8430-Jan-07 9:35 
AnswerRe: timers Pin
Christian Graus30-Jan-07 10:32
protectorChristian Graus30-Jan-07 10:32 
AnswerRe: timers Pin
Coding C#30-Jan-07 20:35
Coding C#30-Jan-07 20:35 
QuestionError table 0 cant be found Pin
suriee30-Jan-07 9:11
suriee30-Jan-07 9:11 
AnswerRe: Error table 0 cant be found Pin
Christian Graus30-Jan-07 10:32
protectorChristian Graus30-Jan-07 10:32 
GeneralRe: Error table 0 cant be found Pin
suriee30-Jan-07 10:54
suriee30-Jan-07 10:54 
QuestionHow to implement continuous integration using TFS Server? Pin
cebyrjoe230-Jan-07 8:26
cebyrjoe230-Jan-07 8:26 
Questionunable to understand.. Pin
raghu nasty30-Jan-07 7:49
raghu nasty30-Jan-07 7:49 
AnswerRe: unable to understand.. Pin
Christian Graus30-Jan-07 9:05
protectorChristian Graus30-Jan-07 9:05 

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.