I have found the solution and got the code i wanted.
It worked with COM (Createobject()) and oApp:callMethod( "Value")
The program was developed in XB 1.82, and i was compiling with the same version but failing.
I have got it sorted in XBase ++ 2.0, I will have to replace some of the Dlls in the program now.
Many Thanks and A Happy New Year
