Click here to Skip to main content
15,897,334 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: datagridview readonly property [modified] Pin
aphei20-Aug-07 18:58
aphei20-Aug-07 18:58 
AnswerRe: datagridview readonly property Pin
Bhaskar Shetty21-Aug-07 0:04
Bhaskar Shetty21-Aug-07 0:04 
GeneralRe: datagridview readonly property Pin
aphei21-Aug-07 15:49
aphei21-Aug-07 15:49 
AnswerRe: datagridview readonly property Pin
TomGarth21-Aug-07 13:00
TomGarth21-Aug-07 13:00 
GeneralRe: datagridview readonly property Pin
aphei21-Aug-07 15:46
aphei21-Aug-07 15:46 
QuestionBinding Controls at run time Pin
ejaz_pk20-Aug-07 11:48
ejaz_pk20-Aug-07 11:48 
AnswerRe: Binding Controls at run time Pin
Christian Graus20-Aug-07 12:15
protectorChristian Graus20-Aug-07 12:15 
QuestionChange the image on a button Pin
rnamro20-Aug-07 10:40
rnamro20-Aug-07 10:40 
Confused | :confused:
Hello,

I have an a button on a form, the button has an image set at design time.
if certain conditions are met i would like to change the image on this button to a different image.
both images in question are loaded as an application resource and appear as an image in the resources (My.resources.).

I tried going the route of:

if "condition met" then
me.btnX.image = my.resources.image2
end if

this does not work!

any thoughts would be appreciated.

Thanks!
AnswerRe: Change the image on a button Pin
Michael Sync20-Aug-07 17:44
Michael Sync20-Aug-07 17:44 
GeneralRe: Change the image on a button [modified] Pin
rnamro21-Aug-07 6:13
rnamro21-Aug-07 6:13 
GeneralRe: Change the image on a button Pin
Michael Sync21-Aug-07 15:13
Michael Sync21-Aug-07 15:13 
AnswerRe: Change the image on a button Pin
TomGarth21-Aug-07 13:07
TomGarth21-Aug-07 13:07 
QuestionHow to loop thru a datagrid to get difference for each record Pin
Smokeywade20-Aug-07 10:40
Smokeywade20-Aug-07 10:40 
QuestionVB excel autofilter Help Pin
VBHelpIsNeeded20-Aug-07 9:56
VBHelpIsNeeded20-Aug-07 9:56 
QuestionEASY SIMPLE, Never done keypress, help.... Pin
Joey Picerno20-Aug-07 9:15
Joey Picerno20-Aug-07 9:15 
AnswerRe: EASY SIMPLE, Never done keypress, help.... Pin
nlarson1120-Aug-07 16:55
nlarson1120-Aug-07 16:55 
GeneralRe: EASY SIMPLE, Never done keypress, help.... Pin
Joey Picerno21-Aug-07 3:02
Joey Picerno21-Aug-07 3:02 
QuestionEncryption Pin
Dominick Marciano20-Aug-07 7:15
professionalDominick Marciano20-Aug-07 7:15 
AnswerRe: Encryption Pin
Mark Churchill20-Aug-07 21:39
Mark Churchill20-Aug-07 21:39 
QuestionHow to avoid html tag in body of mail while saving to db. [modified] Pin
rahul.net1120-Aug-07 5:12
rahul.net1120-Aug-07 5:12 
AnswerRe: How to avoid html tag in body of mail while saving to db. Pin
nlarson1120-Aug-07 17:00
nlarson1120-Aug-07 17:00 
Questionhelp Pin
padbindu20-Aug-07 4:06
padbindu20-Aug-07 4:06 
AnswerRe: help Pin
Christian Graus20-Aug-07 12:17
protectorChristian Graus20-Aug-07 12:17 
QuestionHelp with aScheduling grid/Table Pin
Mr Oizo20-Aug-07 2:07
Mr Oizo20-Aug-07 2:07 
AnswerRe: Help with aScheduling grid/Table Pin
Johan Hakkesteegt31-Aug-07 3:01
Johan Hakkesteegt31-Aug-07 3:01 

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.