Enterprise PDM API

Anyone,

We are trying to get information from our MRP/ERP, Work Order documents and other sources into variables on folder and file data cards.   This information (at the moment) is being processed by a VB.NET/EXE application. So we have the individual data strings separated by VB.NET variables.  But we are having problems setting the variable value for (folder/File Data card a object a  variable input).   Are we looking at this from the wrong direction? Or does someone know of a .dll call that we might not have looked at?

SolidworksApi macros