Ram,
Can you show us the VB and VFP code you are trying to use?
>I have been accessing a DLL file through Visual Foxpro 7. "It gives me an error class definition not found".
>The Dll is registered succesfully and can be reference/available through Visual Basic.