Results 1 to 5 of 5

Thread: visual basic 6.0

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    4

    Question visual basic 6.0

    How do I calculate the result of Round(Sqr(10)?
    And the result of Mid(Trim("abcdef"),3,2)?

    thanks!

  2. #2
    Frenzied Member vbgladiator's Avatar
    Join Date
    May 2001
    Posts
    1,950
    Put the code in the intermediate window (Ctrl+G) and it will tell you the answers.

  3. #3
    Lively Member
    Join Date
    Nov 2000
    Location
    Sugar Grove, IL
    Posts
    99
    What are we, supposed to do your homework for ya? Just use a Message Box, like this:


    MsgBox Round(Sqr(10)
    MsgBox Mid(Trim("abcdef"),3,2)
    In case of a water landing, my head may be used as a flotation device.

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    4

    Angry visual basic

    No X_Man, it isn't homework! It is a parent riding my back to learn this because I work in his office! :-)

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    4

    visual basic

    vbgladiator, thanks! That sounds interesting. Would you mind sharing with me how to do that? And I can apply this to all codes I have like this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width