Results 1 to 7 of 7

Thread: Please correct my program

  1. #1

    Thread Starter
    Fanatic Member Loraine's Avatar
    Join Date
    Aug 2006
    Location
    8ft. underground
    Posts
    581

    Please correct my program

    please correct my program and post it again here in my treads ....
    Attached Files Attached Files

  2. #2
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: Please correct my program

    If you state what is the problem, then someone might try to help...

    What did you try until now ?

    Is this for homework ?

  3. #3

    Thread Starter
    Fanatic Member Loraine's Avatar
    Join Date
    Aug 2006
    Location
    8ft. underground
    Posts
    581

    Re: Please correct my program

    Yup this is my homework ... just upload the zip files thats it my incomplete code because of the error ....
    Attached Files Attached Files

  4. #4

  5. #5
    Hyperactive Member
    Join Date
    Jun 2006
    Posts
    396

    Re: Please correct my program

    VB Code:
    1. scObject.Eval(strEquation)

    is not a proper expression.

    Now if you could provide more detail, it might prove helpful.

  6. #6
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Please correct my program

    You don't need to have a function called "Make_Equations". The script control will do it all for you...just use..
    VB Code:
    1. scObject.Eval(strEquation)
    You're splitting the equation up, then re-making it. Its pointless..

    Better yet, if memory serves something like this should work..
    VB Code:
    1. scObject.AddCode "MsgBox " & txtEquation.Text
    2. scObject.Execute
    ..if not, something similar.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  7. #7
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Please correct my program

    Hmmmm.... Just post your homework and let someone else do it.... And it seems they try...

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