VB.NET

Moderators: seancampbell
Number of threads: 4020
Number of posts: 10026

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
need help with visual basic Posted by clrgq on 28 Sept 2012 at 12:59 PM
I need suggestions or guidance for how to create the code for an application I'm creating. basically I have created a form where the user can either check a box to find the "capital given a state" or "find a state given a capital". I need to get the concept first so i'm only worrying about two states right now, NC and SC. I want to make it to where also the user HAS to check one of the checkboxes I have created or when they select the lookup button an error is generated. Also they cannot check both without generating an error message. ill post an image of what i have created so far. creating the form is the easy part but im thinking i need to do a nested if statement to execute the logic, any suggestions? am i on the right track? i'm brainstorming but as you can see by my code i'm new at this and having trouble coming up with the solution.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.