File selection with OCX HELP NEEDED

AleksasAleksas Member Posts: 9
edited 2003-11-17 in Navision Attain
Hi,

I'm trying to let the user select file from which data should be imported.
For that, I'm using an OCX control. Standart Microsoft Common Dialog control. But when I compile the code, I get next message:

"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.
Make sure that the OLE control or Automation server is installed correctly with an appropriate license"

I've downloaded compiled code, and it works, when I change the code it ompiles.

Does anyone know what's wrong?

Thank you in advance

Aleksas Kekys

Comments

  • VettriVettri Member Posts: 16
    Hai Aleksas,
    U can use code unit common dialog management ( code unit no 412) for ur purpose

    Regards

    Vettri
Sign In or Register to comment.