Common Dialog

ALyczkowski
Member Posts: 33
I know thHat i have done this in the past, but cannot seem to get this working in 3.70. Basically i am trying toi set up an edit assist button that will open up windows explorer.
In the Past (2.60) I used MS Common Dialog as a custom Control. Now when i add thi to my Form, I get the following error:
The OLE control or Automation Server identified by 'Microsoft Common Dialog 6.0 (SP3)'.CommonDialog requires a desing time license. This License cannot be obtained.
I know that i am in over my head, but am surpised that this has worked in the Past. Can Anyone guide me to where i can get this license for this project?
In the Past (2.60) I used MS Common Dialog as a custom Control. Now when i add thi to my Form, I get the following error:
The OLE control or Automation Server identified by 'Microsoft Common Dialog 6.0 (SP3)'.CommonDialog requires a desing time license. This License cannot be obtained.
I know that i am in over my head, but am surpised that this has worked in the Past. Can Anyone guide me to where i can get this license for this project?
0
Comments
-
I just ran this through support. MS' response:
In order to use the CommonDialog OCX you will need to have VisualStudio or VB 6.0 installed as this will give you the Design Time license. Installing Visual Studio .NET may not be sufficient as unless the VB6 controls are on the computer before Visual Studio .NET is installed, the design-license is not installed on the system. If you have Visual Studio 6.0 and then install Visual Studio .NET you should be fine.
The error can also occur if the comdlg32.ocx has not been correctly registered, so re-registering the ocx or re-installing Navision may also fix the problem.0 -
if you use the standard codeunit for Common dilaog, the object is already created so you shouldn't have problem.
The codeunit is 412 and it return a textfile of 260 caracter
Gulio0 -
-
There is file vb6controls.reg on Visual studio installation CD. If you import it into your registry, you will have the design licence for the control... \:D/0
-
You have probably forgotten - you must use ocx instead of dll.0
-
I just want to say Thanks!!! to everyone who chaimed in on this. I will try the Codeunit 412 to start. If no. i will look into installing VB6.0
Again Thank-yopu for Your Help Everyone!!!!0 -
So I see you didn't read my post :roll: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