This method retrieves the value of a variable stored in the Application Object.
HRESULT get_Value(
BSTR bstrValue,
//string that contains the name of the variable
VARIANT * pvar
//pointer to a variant that receives the variable value
);