If I understand you correctly, you basically need to translate a procedure written in VB6 to clarion, or more specifically, the calls to the DLL, yes?