VB5 function doestn't work in VB6

Kukunuts
08-29-2000, 03:46 AM
Hi!

I have used a VB5 Eval function to evaluate VB expression in runtime and the function is no longer usable in VB6. I want to know is there a similar function that I can use. In VB6, I have include the 'Microsoft Access 9.0 Object Library' and it allow me to use the Eval function but the function is some how different. The Access Eval function do evaluate mathematical function like sin, cos but it doesn't evaluate VB function like what VB5 Eval function did. Can anyone tell me is there a similar function or API to do this. Thanks in advance.

From Simon the Snow Blower

cbrewer
08-30-2000, 04:39 PM
If the 'Microsoft Access 9.0 Object Reference' contains the library which has the Eval Function and it works differently in VB5, I would think your VB5 program referenced a different library. Get rid of your 'Microsoft Access 9.0 Object Library' reference and reference the same library that your VB5 program uses.

Chuck

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum