How to Be Less Impulsive
Q&A for How to Create a Simple Calculator in Visual Basic 6.0
Coming soon
Search
-
QuestionHow do I code a calculator in VB?Community AnswerStart by designing the interface of your calculator, then you start your coding by declaring the values you are using, such as a,b,c, for each command you have open in your interface. a=val(Text1.Text) b=val(Text2.Text) c=a+b Text3.Text=c a= the value you enter in text1(text box) b= the value you enter in text2(text box) c= the label to display your answer
-
QuestionHow can I become an expert in programming?Community AnswerPractice as much as possible and always challenge yourself to learn more and more complex things.
-
QuestionAny number divide by 0 is = 1? How I can fix that?Community AnswerYou might want to code in an error message because officially, dividing by 0 is UNDEFINED.
-
QuestionHow do I add an About button?Community AnswerAdd a button to your form and write the following into the code of the button: messagebox("Title", "This program is by X and it's best for Y...", MSBoxStyle.Information).
-
QuestionHow do I add username and password fields?Community AnswerIf you want to create a User login add two textboxes and one button. Set PasswordChar to '*' in one textbox and code the button to compare both textboxes to the right username.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit