PDA

View Full Version : Windowless ActiveX



m.hanussek
June 23, 2010, 11:12:18
Hi,

i'm programming in Visual Studio 2005 C# .NET.
Using IC 3.0.6.

Everything is fine as long as i run the programm from the Visual Studio.

But if i want to start the .exe file i'm running into the following error:
"System.Reflection.TargetInvocationException" ind System.Windows.Forms.dll.

"Windowless ActiveX Usercontrols are not allowed"
(translated from german).I want to start the programm on a Vista-PC.

Thanks for your help.

Marc

FabianBähr
June 23, 2010, 13:26:31
Try
bcdedit /set nx AlwaysOff as Administrator in a DOS Box and reboot!
Fabian

Stefan Geissler
June 23, 2010, 14:04:12
Hello,

it is better to update to IC Imaging Control 3.1 for free. Please create a support case at http://www.imagingcontrol.com/en_US/support/case/

m.hanussek
June 23, 2010, 14:14:12
I just downloaded the 3.1 trial.

Now it works fine on my Vista-machine.

But on the Target-PC the Program won't start.
It's just 1 form with the control for testing.

The target-PC is a windows XP SP3.

Does the software Imaging Control has to be installed on the target-PC?

Thanks!

Stefan Geissler
June 23, 2010, 14:38:31
Hello,

at least the tis.imaging.icimagingcontrol.dll , the TIS*.DLLs and VDA files must reside on your target computer, in the application's directory.

The trial version can not be distributed.