I have a codeunit where I use Microsoft Common Dialog Control, version 6.0 and I can compile it and use it.
When I import this codeunit to another database on the same computer I cannot compile it.
Then it ask for a "design license".
(I'm not sure the codeunit in db1 was originaly designed in this db)
What can I do to compile this on db2 ?
0
Comments
Did you by chance import the object as a .txt-file and not as a .fob-file? In my experience it makes a difference. If it is via a .fob-file you should be able to compile it. If it is as a .txt-file you will get the error with regards to a license for the ocx.
Tommy
in my case I get the error with the design license, if I import the object as txt on our server (Windows 7 64 bit) and try to compily directly on the server(via remote desktop).
If I compile the object from my local computer, it works fine.
The ocx is registerd on the server in folder syswow64, but it doesn't work.
Only an import via FOB works on the server.
If anybody knows another ocx especially for Windows 7 64bit or another way to solve this porblem please let me know.