Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a program, developed in VB6

Status
Not open for further replies.

Ken01

Programmer
Aug 8, 2014
54
0
6
GB
I have a program, developed in VB6 on Windows XP, which extensively uses the Compute.Eval method to perform calculations
based on inputted text (e.g x*Sin(X), Log(X) etc). However when moved on to a Windows 7 environment the program no longer works,
except when the compute statement is removed. Have you any ideas?
 
Have to say that I'm not completely sure what Compute.Eval is. Don't recognise it as a Vb6 method
 
Oh, I am familiar with VBscript's Eval method. It is Compute.Eval that I am questioning.

It may well be that Compute is an instance of Vbscript, but just need to check
 
I do have to say that I appreciate that the OP's question asks about moving a program written on an OS released 23 years ago to an OS released 15 years ago. :)
 
I have found I can get round the problem by making the changes on the XP laptop and transferring the
exe file over to the W7 PC. The same approach also works for W10.

Thank you to those who wrote a reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top