Monday, December 31, 2007

Communication with AX

I couldn't resist my hands-on to test how VS 2008 Communicates with AX using .NET Framework 3.5

The code works same and the logon was successfull as expected:


try
{
Axapta ax = new Axapta();
ax.Logon(null, null, null, null);
MessageBox.Show("Logon Successfull");
}
catch (LogonFailedException ex)
{
MessageBox.Show(ex.Message);
}

No comments:

Post a Comment