I am working on a project that uses an activex control and some other third party dlls.
Whenever I click on the main form window I get an error telling me I must have a license to use this activex control.
Of course, I do have the license but it isn't doing it's trick.
Some background....
The sample source I'm working on was created in an earlier version of visual studio.
The sample was "upgraded" when I loaded it.
The sample does compile and run just fine but I can't edit the main form because of the error.
I'm using visual studio 2005 express for C#.
So, is this a problem that might have occured during the "upgrade" done by the new version of visual studio
I've tried putting a copy of the license file (I assume it's looking for the license from the third party ocx)in every folder of the project but it still doesn't find it.
What should I do
Thanks in advance.

you must have a license to use this activex control
Oystein Isaksen
You could also go to the developer of the control and ask them where to install the license file.
Scott ODonnell
The code is looking for AxMSComdlg.dll
I don't have this dll on my machine and have no idea where to find it.
My (limited) understanding of this thing is it's a Microsoft active x dll that is probably installed with visual basic or something like that but I'm not sure.
Can anybody tell me where to track it down
Jeff in Portland
You can use a tool like Filemon to see where it is looking for the license file.
http://www.sysinternals.com/Utilities/Filemon.html
Be sure to setup the filter to only look for the name of the license file. It report all filesystem operations so it can be quite alot.
Beta2User
It should be a activex wrapper for common dialogs in .NET. You can actually generate this yourself.
http://support.microsoft.com/ kbid=320780
MegaKameha
I also had to set the paths as outlined on this page.
http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/csharpcompiler.asp