Hi,

HRESULT values of COM Connector are handled with exceptions in .NET.

You could try something like that:

AxaptaCOMConnector.Axapta2 IAxa = new AxaptaCOMConnector.Axapta2();

try
{
  IAxa.Logon("", "", "", "");
}
catch(Exception Exc)
{
  MessageBox.Show(Exc.Message);
}

Regards,
Onno







SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to