Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

programming help making calculator in visual basic 2010?

Now that you have a GUI interface for your calculator using Visual Studio program an On-Off switch or Buttons. Be sure to address the following:

When a user clicks on one button the calculator will come on,

The other button will make the calculator to go off.

Specify the security feature that you used and how it enhances the security of your code.

It certainly sounds silly to have "On" feature. You can code the off which quits the program. For "On", if you like, you can disable all controls (except "On" button) when form loads and upon click of "on", you can enable all the controls including text box.

Not sure how to make the button for on/off any help on this?? I tried going on youtube and finding a video but no help there.

2 Answers

Relevance
  • Anonymous
    8 years ago
    Favorite Answer

    Use the method shown here to help you: http://archive.msdn.microsoft.com/spektrum1calcula...

  • 5 years ago

    Sorry mate yet I used to do vb6 and moved directly to C++ attempt this out besides: private Sub (Plus Button being clicked module) tempvalue = txtbox1.text fabric*one million + txtbox2.text fabric*one million 'tempvalue holds the sum of the numbers. txtanswer.text fabric = txtbox1.text fabric & " + " & txtbox2.text fabric & " = " & tempvalue 'i'm now putting the strings jointly. end Sub you will ought to placed some blunders tests in there using purposes like IsNumeric(x) which returns genuine if the argument is a selection. I switched for a reason (I wasn't too reliable :P)

Still have questions? Get your answers by asking now.