Click here to Skip to main content
15,895,142 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionExecuting an application while windows starts. Pin
Dileep_Vickey22-Jun-07 20:37
Dileep_Vickey22-Jun-07 20:37 
AnswerRe: Executing an application while windows starts. Pin
Rupesh Kumar Swami22-Jun-07 20:55
Rupesh Kumar Swami22-Jun-07 20:55 
AnswerRe: Executing an application while windows starts. Pin
Christian Graus22-Jun-07 21:46
protectorChristian Graus22-Jun-07 21:46 
Questionlistview doubt Pin
kankeyan22-Jun-07 19:08
kankeyan22-Jun-07 19:08 
AnswerRe: listview doubt Pin
Christian Graus22-Jun-07 21:48
protectorChristian Graus22-Jun-07 21:48 
Questiondeployment problem (Window application) Pin
Sonia Gupta22-Jun-07 18:48
Sonia Gupta22-Jun-07 18:48 
AnswerRe: deployment problem (Window application) Pin
Christian Graus22-Jun-07 21:49
protectorChristian Graus22-Jun-07 21:49 
QuestionUsing nested IFs in another form for action in main form Pin
marshmayllow22-Jun-07 5:49
marshmayllow22-Jun-07 5:49 
My program works like this:

I have two forms, one is main.vb, and the other options.vb
I have three picture boxes 'picMain', 'picA' and 'picB'
I have a button 'btnOK' in the main form which you click and the options.vb form shows
i.e.
btnclick event
Dim options as new form options()
options.showdialog(me)

So far so good...

I have a few radio buttons in options.vb, and when they are checked, the images in the picture boxes in main.vb changes. My Options form has two buttons 'OK' and 'Cancel'

I put the code in the btnOK_click event

IF options.dialogresult = windows.forms.dialogresult.OK Then

If radiobutton1.checked = true then
picMain.image = picA.image
End if
If radiobutton2.checked = true then
picMain.image = picB.image
End if

End if


Nothing seems to work, the images don't change, whether I put these codes in options.vb, or the click event of the 'OK button' or main form load event. Please help!! Am I suppose to put it elsewhere? Or nested IFs don't work in this case? Thank you!!
AnswerRe: Using nested IFs in another form for action in main form Pin
Kschuler22-Jun-07 6:10
Kschuler22-Jun-07 6:10 
GeneralRe: Using nested IFs in another form for action in main form Pin
marshmayllow22-Jun-07 8:36
marshmayllow22-Jun-07 8:36 
GeneralRe: Using nested IFs in another form for action in main form Pin
Kschuler22-Jun-07 8:42
Kschuler22-Jun-07 8:42 
AnswerRe: Using nested IFs in another form for action in main form Pin
Dave Kreskowiak22-Jun-07 8:50
mveDave Kreskowiak22-Jun-07 8:50 
AnswerRe: Using nested IFs in another form for action in main form Pin
Christian Graus22-Jun-07 14:22
protectorChristian Graus22-Jun-07 14:22 
AnswerRe: Using nested IFs in another form for action in main form Pin
marshmayllow22-Jun-07 22:25
marshmayllow22-Jun-07 22:25 
QuestionInherit constraints from database query Pin
kermit88822-Jun-07 5:39
kermit88822-Jun-07 5:39 
QuestionPlease Help me with PopUp Pin
s3ad200222-Jun-07 5:36
s3ad200222-Jun-07 5:36 
AnswerRe: Please Help me with PopUp Pin
leckey22-Jun-07 9:31
leckey22-Jun-07 9:31 
QuestionWeird Syntax Error Pin
Kerry Drake22-Jun-07 4:48
Kerry Drake22-Jun-07 4:48 
AnswerRe: Weird Syntax Error Pin
ctwalker22-Jun-07 4:57
ctwalker22-Jun-07 4:57 
AnswerRe: Weird Syntax Error Pin
AlexeiXX322-Jun-07 8:51
AlexeiXX322-Jun-07 8:51 
QuestionMicrosoft Office Document Image Writer Pin
dBrong22-Jun-07 4:39
dBrong22-Jun-07 4:39 
AnswerRe: Microsoft Office Document Image Writer Pin
Dave Kreskowiak22-Jun-07 5:00
mveDave Kreskowiak22-Jun-07 5:00 
GeneralRe: Microsoft Office Document Image Writer Pin
dBrong22-Jun-07 5:09
dBrong22-Jun-07 5:09 
GeneralRe: Microsoft Office Document Image Writer Pin
Dave Kreskowiak22-Jun-07 8:54
mveDave Kreskowiak22-Jun-07 8:54 
GeneralRe: Microsoft Office Document Image Writer Pin
dBrong22-Jun-07 13:33
dBrong22-Jun-07 13:33 

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.