Posted on 2004-11-15
Last Modified: 2010-04-23
Say you have an equation L = P * 2.13. How do you make that uneditable?
Question by:Barako2
    LVL 19

    Expert Comment

    Mean ???
    LVL 2

    Expert Comment

    exactly where do you have this equation - in a textbox ? in a label ? in the code ? where???

    Author Comment

    okay the syntax didnt work any other ideas?

    Author Comment

    In the code itself i.e on the click event sorry bout that
    LVL 19

    Accepted Solution

    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


    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Zoom web page in 2 21
    Best platform to port vba application to? 7 34
    Best way to accomplish this task? 3 66
    Help file 1 28
    Article by: jpaulino
    XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    This video discusses moving either the default database or any database to a new volume.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now