problem in registering comdlg

I have a problem while using Microsoft Common Dialog control in Navision financials 2.01A version.When I declare the Common Dialog the following error message appears: The OLE control or Automation server identified by ‘Microsoft Common Dialog Control 6.0’.common dialog requires design time Licence.This licence cannot be obtained.Make sure that the OLE control is installed correctly with appropriate licence. I had also used regsvr32, and got the message- Dll registerserver in c:\winnt…was succesfully registered. But still face the same problem while using that ocx in navision. If anybody have the solution…please let me know. Thanx in advance

The 1st error occurs because you do not have an application for developing windows programs. You need to have an installation of for instance Visual Studio, or what I did was to find a freeware Microsoft developer add-on on www.msdn.com I think the freeware program was called something like Visual Basic Control Creation, this will give you window developer license. Good luck Best Regards Gustav Jensen Billing Consultant

If we talk about OCX’s in general you have to be aware that there are two kind of uses for an OCX: a) using it and b) developing with it. In 99.9% of all cases OCX’s are free for usage. Which means, an end-user who has the OCX registered (regsrv) might start an application which calles the routines of the OCX, thus using it. On the other hand if you are a developer and want to compile an object or program which uses this OCX you will not be able to do so unless you own the License file for this OCX. The license is usually sold separately by the owner of the OCX. Typically the OCX itselfes is called .OCX while the License file needed to add the OCX to a third-party programming environment (like C/SIDE, VB, C++ or Delphi) is called .LIC. As far as OCX’s from Microsoft are concerned, there one simple way to obtain a developer license for the most commonly used Microsoft OCX’s like MSMAPI32, COMDLG32 etc: Install any Microsoft Developement environment like VB, VC, Visual Studio, Office Developer, MSDN Library. If you don’t want to fill up your harddrive with a lot of rubish, choose Office Developer or MSDN instead of Visual Basic. ------- With best regards from Switzerland Marcus Fabian Edited by - fabian on 2001 Aug 14 01:43:36

hey Marcus/Jensen, I installed Navision 3.0 and i could use the comdlg32.ocx in Navision Solotions 3.0 client…but that same ocx is not instantiated in Navision 2.01…why is it so? I will try installing VB. Thank u for the quick replies. Taj

This problem exists on old Windows 95 machines, because ComDlg32 for Win95 differs from ComDlg32 for Win98 and others (SE, NT, 2k). Business Applications Programmer Sertified Navision Developer SIA “Sintegra” Latvia