I posted this before but have received no replies. Maybe to difficult, but i refrase my question.
I want to send an email by clicking the contact card. Then the interactin dialog forms starts up with page 1. So far so good. After entering the data on the page and going to the second page, the system shuts down.
So far I heard that this has something to do with faulty dll. I do not know but whta shoudl be done. This is 4.1 navision.
It goes wrong with the statement create application, does that help?
Reinoud
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Then re- or regsitered the 2 dll's. Problem remains. On page 2 of interaction abort.
Can you be more specific?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
here it goes wrong
IF ISCLEAR(OApplication) THEN
CREATE(OApplication);
IF (NOT OApplication.Logon(TRUE,'','',FALSE,FALSE)) THEN BEGIN
OApplication.Logoff;
EXIT
Oapplication is also not initialised, but I do not know if that is necessary.
Just FYI - OLAddin.dll is not used while sending e-mails. Only OLHandler.dll and NATHash.dll are used.
OLAddin.dll is used for jumping from Outlook Item to Navision record using URL stored in one of the user-defined ifelds of the synchronized Outlook Item.
Have you tried to unregister OLHandler.dll and NATHash.dll before you register them again? For example - "regsvr32 OLHandler.dll /u". Try to find a different copy of these 2 dlls.
Is the Navision application just dies - or does it produce some particular error message?
Dmitry
I looked soemwhat further adn saw that the error sarts to ocuur somewhat later, but in the same codeunit.