'Automation' is not an option

trennerttrennert Member Posts: 22
edited 2007-08-10 in Navision Attain
Hi,

on Navision SQL 3.01b

I try to work on some application for NAS
I am following the indications of the NAS TUTORIEL that I found here on mibuso.
In this tutorial it is said to create a CodeUnit and to declare a variable
like this :
Name NavisionTimer
Datatype Automation
Subtype Navision Timer 1.0'.Timer

But the datatype Automation does not exist.

What is the problem ?

Best Regards
Gustav Trennert

Comments

  • kinekine Member Posts: 12,562
    You need to have C/OCX granule in your license file to be able to use Automation and OCX variable type.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    Try to find an existing codeunit with the variable and save as a new ID, then throw away what you do not need.
  • trennerttrennert Member Posts: 22
    Oh thank you.

    When trying to execute an object containing automation i get this message :
    "This message is for C/AL Programmers:
    GUID=..............................Unknown Automation Server. Unknown Class.
    Check that the OLE control or Automation server is correctly installed and registered."

    How can I do this ?
  • trennerttrennert Member Posts: 22
    hello Mark
    I found an other object with automation - and saved this codeunit as ...
    This worked fine - thank you !

    nevertheless I'm allways interested in how I can correctly install and register an automation server
  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    You'll have to buy the C/OCX Granule. Ask your partner.
  • trennerttrennert Member Posts: 22
    Thanks
    Its the session killer module that we have dl long ago.
    I know it was working in the beginning but I did not use it since and now I see this message.
    So I think its not a licence problem, but maybe I'm wrong...
Sign In or Register to comment.