Question:

Need help with this in VB

by  |  earlier

0 LIKES UnLike

i have a Textbox and a command button in a VB programme.

When i type a mathematical relation in the text box (ex 1 1), a Msgbox appears and displays the result (2).

Also if i typed (X 1) where X=5 the MsgBox displays (6)

thanx

 Tags:

   Report

1 ANSWERS


  1. You most likely have your command button set to add the number in the display box.  For example

    Dim Value 1 As Integer

    Value 1 = (X + textbox1.text)

    Textbox1.text = Vaule 1

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.