PDA

View Full Version : What license is needed to use IC Imaging Control?



Heiko Wilkens
December 2, 2007, 22:08:58
I am getting an exception "IC Imaging Control is not licensed to be used on your computer!" when I try to execute this line of code:

Dim Ti As New TIS.Imaging.ICImagingControl

As far as I know I do own a valid license to use IC Imaging control.
Any suggestions?

Heiko

Stefan Geissler
December 3, 2007, 09:46:19
Hello,

I guess, IC is not used in a user controll or in a class library project.

First of all, remove IC from your form. Save your project, close Visual Studio.
You may delete the files "licenses.licx" from your project directory
Then start your project in Visual Studio. Compile it. Ignore the errors.
Then insert IC again on your form.

If this does not help, you uninstall and reinstall IC again.

Heiko Wilkens
December 3, 2007, 13:29:28
Stefan,

> I guess, IC is not used in a user controll or in a class library project.

That's true. My application can be used with cameras from several manufacturers. At start up my application populates a list of all connected and available cameras to let the user select a camera to open. That's the reason I do not use IC in a user control at this time. Can IC only be used in a user control? If so: is there a different way to retrieve connected TIS cameras and their properties?

Best
Heiko

Stefan Geissler
December 3, 2007, 15:49:48
Hello,

Please see this thread:
http://www.theimagingsourceforums.com/showthread.php?t=319530&highlight=licensecontext

For some more details, especially creating the distributables, please contact me directly at support@imagingcontrol.com

Danke.

Heiko Wilkens
December 3, 2007, 20:39:56
I am using VB.net 2005.

I uninstalled IC and installed it again, full installation (several times).
The exception is thrown again and again.
IC capture control is not visible in the toolbox. I am able to access it programmatically only.

Heiko

Heiko Wilkens
December 3, 2007, 22:42:10
Got it!

I simply copied the IC control from one of the demo projects into my VS project. Once a form contains the IC control the license exception is no longer thrown even if the form is never used.

Heiko