Microsoft Common Dialog Control 6.0 (SP3)

Draqos
Member Posts: 36
I imported some tables (from text format) and when i complile I receive the following error 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"
The control is registered, i have no ideea about what I should do to obtain a design-time license...
I have read another post on this forum regarding the same problem, but i did not understand exactly what the sollution is.
"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"
The control is registered, i have no ideea about what I should do to obtain a design-time license...
I have read another post on this forum regarding the same problem, but i did not understand exactly what the sollution is.
"Simplicity is the ultimate sophistication."
Leonardo DaVinci
Leonardo DaVinci
0
Comments
-
To add new variables for some OCX you must have design licence for this OCX. Common dialog library is OCX with licence. This licence is installed for example with Visual studio etc... it is some key in registry HKEY_CLASSES_ROOT\Licenses\...
Install visual studio and it is ok (or import apropriate reg file from installaction cd for visual studio... :-)0 -
You can also use codeunit 412 "Common Dialog Management".0
-
that is exactly the problem - codeunit 412 does not compile
could this problem be caused by having Visual Studio Beta2 installed on the same computer (probably due to update of CommonDialogs library - new service pack with more restrictive licence) ?0 -
if it does not compile, take the comdlg32.ocx and register it...
there is no problem for example with VS2005...0 -
the problem is comdlg32.ocx requires design-time licence.
to install the licence use the VB6Controls.reg file that can be found for example on Visual Studio CDs in Extras/VBControls directory
merge the reg file into windows registry and problem is solved0 -
But you need this license only if you want to add new variable into Navision. Not for compiling the codeunit 412...0
-
The way navision check for the license for the OCX is based on Control ID.
If it's in 1 through 1000, it doesn't give you the error.
Maually recreate codeunit 412, without copying and pasting, and you'll get the license error.
But if you copy and paste the function into a new codeunit, it will compile.
Navision errors if your variable are in one million range. If you export the object to text, you'll see that every variable e.g. text@10000000023 .
if you change it text@001, and they all have to be unique, you'll be able to use the ocx.0 -
Codeunit 412 doesn't compile for me even if I didn't modify it. It's still the same object that came with Navision 4.0 SP1.
And yes, the OCX is registered.
I looked at the Control ID of the OCX variable and it is set at 1005.
I tried to change it to 400 by changing the properties of the variable and by exporting the object in text, changing the value and importing the text file in Navision and I got the following error both times:
"The variable ID 400 for variable CommonDialogControl is reserved for C/SIDE-defined variables only. The minimum ID number allowed is 1000."
Anything I'm missing?0 -
I've had this problem another time, and i didn't remember how to solve it...it's strange to find the same post to solve the same problem...i should have remembered this, i'm a donkey
0 0
/\
:shock:0 -
Hello,
I've a similar Problem. On my System I can compile the Codeunit where I use the comdlg32.ocx. But on the Server (Windows 7 64 bit), where the ocx is also registered the Codeunit doesn't compile. It only compiles if I import as a FOB. As txt it doesn't compile. I have to import as a txt.
Is there maybe another ocx for the 64 bit System? Or have somebody another idea?0 -
kine wrote:Install visual studio and it is ok0
-
lvanvugt wrote:kine wrote:Install visual studio and it is ok
Judging from http://support.microsoft.com/default.as ... -us;318597, it needs to be Visual Studio 2005 or before.Kind regards,
Jan Hoek
Product Developer
Mprise Products B.V.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions