Mail Codeunit

ElieElie Member Posts: 30
I'm trying to modify the Mail CodeUnit #397 in Navision 5.0.
But I can not compile!! I'm getting the following error message: "Could not Load the Selected Type Library"
When I look at the variables I see there are several Autonation DataType viariables but with subtype of Unknown Automation Server.Unknown Class

how do I know what to put in teh subtype?

Can you please help?

Thanks

Comments

  • SaalekSaalek Member Posts: 181
    Hi

    Post all variable name. But I think all are relationed with OlHandler.Dll library

    Bye
  • ElieElie Member Posts: 30
    Thank you Saleek..
    After I registered the ohandler.dll it updated most of the variable's subtypes but did not update the subtype for the following variables:

    BSTRConverterBody
    BSTRConverterAttachFileName

    Any idea as of which dll I need to register?


    Again Thanks
  • SaalekSaalek Member Posts: 181
    Hi

    The other DLL is NATHash.dll

    Bye
  • David_SingletonDavid_Singleton Member Posts: 5,479
    There was a really good post on Mibuso not long ago about how to resolve this. Just put the GUID in google and there is a good chance it will tell you what DLL you are missing.
    David Singleton
  • ElieElie Member Posts: 30
    Thank you for all your help.

    I have loaded the following dlls and it works now:

    OlHandler.Dll
    NATHash.dll
    CDO.dll

    Thank you Saleek and David.

    Elie
  • David_SingletonDavid_Singleton Member Posts: 5,479
    You are welcome :D
    David Singleton
Sign In or Register to comment.