Click here to Skip to main content
15,903,175 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: string manipulation Pin
Christian Graus29-Apr-07 18:31
protectorChristian Graus29-Apr-07 18:31 
GeneralRe: string manipulation Pin
Arun.Immanuel29-Apr-07 18:59
Arun.Immanuel29-Apr-07 18:59 
GeneralRe: string manipulation Pin
Arun.Immanuel29-Apr-07 19:15
Arun.Immanuel29-Apr-07 19:15 
GeneralRe: string manipulation Pin
uglyeyes1-May-07 18:48
uglyeyes1-May-07 18:48 
QuestionSerialize WIndows Form Pin
milan.net29-Apr-07 8:57
milan.net29-Apr-07 8:57 
AnswerRe: Serialize WIndows Form Pin
Christian Graus29-Apr-07 11:18
protectorChristian Graus29-Apr-07 11:18 
QuestionIf statment problem Pin
aerosmith2k129-Apr-07 7:39
aerosmith2k129-Apr-07 7:39 
AnswerRe: If statment problem Pin
Christian Graus29-Apr-07 11:22
protectorChristian Graus29-Apr-07 11:22 
PLease, please tell me this is not your actual code ? You have variables called RadioButton1 and RadioButton2 ?


aerosmith2k1 wrote:
If RadioButton1.Checked = True Then


If the first button is checked, do this


aerosmith2k1 wrote:
If RadioButton2.Checked = True Then


If the second one is checked do this ( even if the first was checked )

aerosmith2k1 wrote:
ElseIf transaction > Balance Then


If radio button 2 is NOT checked ( that's what the elif does ) AND transaction > balance, then do this

aerosmith2k1 wrote:
If RadioButton3.Checked = True Then


If radio button 3 is checked, no matter if the others are, do this.

I suspect your radio buttons work so only one can be checked, but I'd still do an elif to define the three radio button steps. It makes the code more efficient.

And, I think the elif you ARE using, is your problem. Have you tried stepping through the code in the debugger to see what happens, and how it differs from what you expect ?


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

AnswerRe: If statment problem Pin
Navneet Hegde29-Apr-07 22:15
Navneet Hegde29-Apr-07 22:15 
GeneralRe: If statment problem Pin
aerosmith2k130-Apr-07 1:51
aerosmith2k130-Apr-07 1:51 
QuestionWindows Genuine Advantage (WGA) check in my own app Pin
sereby@gmail.com29-Apr-07 6:12
sereby@gmail.com29-Apr-07 6:12 
AnswerRe: Windows Genuine Advantage (WGA) check in my own app Pin
Dave Kreskowiak29-Apr-07 7:17
mveDave Kreskowiak29-Apr-07 7:17 
QuestionFunction does not return value on all code paths [modified] Pin
Pradeep Shamarao29-Apr-07 4:44
Pradeep Shamarao29-Apr-07 4:44 
AnswerRe: Function does not return value on all code paths Pin
kubben29-Apr-07 5:37
kubben29-Apr-07 5:37 
GeneralRe: Function does not return value on all code paths Pin
Pradeep Shamarao29-Apr-07 20:01
Pradeep Shamarao29-Apr-07 20:01 
AnswerRe: Function does not return value on all code paths Pin
Guffa29-Apr-07 8:03
Guffa29-Apr-07 8:03 
QuestionTooltip with a close button. Pin
udaykatakam28-Apr-07 19:34
udaykatakam28-Apr-07 19:34 
AnswerRe: Tooltip with a close button. Pin
kubben29-Apr-07 2:28
kubben29-Apr-07 2:28 
GeneralRe: Tooltip with a close button. Pin
udaykatakam29-Apr-07 17:27
udaykatakam29-Apr-07 17:27 
GeneralRe: Tooltip with a close button. Pin
Christian Graus29-Apr-07 18:03
protectorChristian Graus29-Apr-07 18:03 
AnswerRe: Tooltip with a close button. Pin
Arun.Immanuel29-Apr-07 4:45
Arun.Immanuel29-Apr-07 4:45 
GeneralRe: Tooltip with a close button. Pin
udaykatakam29-Apr-07 17:25
udaykatakam29-Apr-07 17:25 
GeneralRe: Tooltip with a close button. Pin
Arun.Immanuel29-Apr-07 18:02
Arun.Immanuel29-Apr-07 18:02 
QuestionCompile and Execute C/C++ using vb.net Pin
Senthil S28-Apr-07 16:49
Senthil S28-Apr-07 16:49 
AnswerRe: Compile and Execute C/C++ using vb.net Pin
Dave Kreskowiak28-Apr-07 17:02
mveDave Kreskowiak28-Apr-07 17:02 

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.