Results 1 to 2 of 2

Thread: eval math expression string

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    125
    since you can type any expression in the immediate window it seems like there should be an API to evaluate some valid math expression that you have in a string. Does anyone know it?

  2. #2
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    To do this in VB, you need to add the Windows Script Control OCX to your project and use its 'Eval()' Function.

    You can download it here

    Click on the 'Script Control' Option on the left sidebar and then just use your common sense to download it. (Microsoft requires yo to register before you can download it )
    Courgettes.

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