Microsoft Common Dialog Control 6.0 (SP3)

Hi. In codeunit 412 there is an OCX control that allows access to open / save files through a dialog. Since ive installed Navision Attain 3.70.A here i cannot compile the codeunit anymore 'cause i get the error This message is for C/AL programmers: The OLE control or Automation server identified by 'Microsoft Common Dialog Control 6.0 (SP3)'.CommonDialog requires a design time license. This license cannot be obtained. Thats pretty weird … any suggestions?

If you have VisualBasic installed on your machine, you could try the information provided here: http://support.microsoft.com/default.aspx?scid=kb;EN-US;194751 (The link does not work when embedded in the article - it seems that Snitz does not like the semicolons in the URL.) From what I have found on the web I conclude that without VisualBasic, you are not supposed to have a design time license for this control… [:D] PS: This control is notorious to cause endless licensing/versioning problems. I have just seen my own experiences confirmed in various discussion forums [}:)]

It appears that Microsoft wants some kind of MSDN development tool installed on your system. [8] Not enough that you have OCX and C/SIDE licensed… right? I just hit this one last week and found that adding a registry key in HKEY_CLASSES_ROOT\Licenses resolved the issue. Search for “Comdlg32 ocx license error” in this forum and you will find a post that points to an example of that resolution. Good Luck!

quote:


Originally posted by ahed4
Hi. In codeunit 412 there is an OCX control that allows access to open / save files through a dialog. any suggestions?


Copy the control to some other codeunit in ver. <= 3.60 - compile it there - import as fob and voila - you have it in 3.70 Btw - it seems as if you are trying to use Automation instead of this ocx, because ocx is still called Microsoft Common Dialog Control, version 6.0 not … (SP3) If you still want to use the automation use Mark’s suggestion it works fine. Tõnu