Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 150
  • Last Modified:

Edit

Say you have an equation L = P * 2.13. How do you make that uneditable?
0
Barako2
Asked:
Barako2
  • 2
  • 2
1 Solution
 
arif_eqbalCommented:
Mean ???
0
 
AmanBrarCommented:
exactly where do you have this equation - in a textbox ? in a label ? in the code ? where???
0
 
Barako2Author Commented:
okay the syntax didnt work any other ideas?
0
 
Barako2Author Commented:
In the code itself i.e on the click event sorry bout that
0
 
arif_eqbalCommented:
What do you mean syntax didn't work??
Is it that the result is not proper?? Are you using proper Decimal variables

        Dim L As Decimal
        Dim P As Decimal = 5.1
        L = P * 2.31

This should work

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now