AW: [ActiveLock-Users]Error Initializing ActiveLock 2.0 under VB.Net
Brought to you by:
ialkan
From: <jue...@ya...> - 2004-11-11 21:13:30
|
Hi Thanh, =20 it was an example, i have generated a code and it stands instead of = =93xxx=94, I think it is an other problem, also I use version 2.0.11 =20 Over an example in VB.net, I would be very happy! =20 Best Regards =20 J=FCrgen Zimmer =20 _____ =20 Von: act...@li... [mailto:act...@li...] Im Auftrag von = Thanh Hai Tran Gesendet: Donnerstag, 11. November 2004 18:34 An: act...@li... Betreff: Re: [ActiveLock-Users]Error Initializing ActiveLock 2.0 under VB.Net =20 .SoftwareCode =3D "xxx" Is this actually the code that you're using? Because if it is, it's not = a valid code. Also, you forgot to specify a KeyStorePath.=20 /Thanh J=FCrgen Zimmer wrote on 07/11/2004 8:30 AM:=20 Hello all, =20 By initializing ActiveLock under VB.Net occurs following Error: =20 An unhandled exception of type 'System.InvalidCastException' occurred = in Karte.exe Additional information: Die angegebene Umwandlung ist ung=FCltig. =20 I used this code: =20 Private MyActiveLock As ActiveLock2.IActiveLock Private WithEvents ActiveLockEventSink As ActiveLock2.ActiveLockEventNotifier =20 In Form_load =20 MyActiveLock =3D New ActiveLock2.Globals =20 With MyActiveLock .SoftwareName =3D "xxx" .SoftwareVersion =3D "2.0" .SoftwareCode =3D "xxx" .AutoRegisterKeyPath =3D "C:\Programme\ActiveLock Software Group\ActiveLock2\Bin\activelock.all" .LockType =3D ActiveLock2.ALLockTypes.lockHD End With ActiveLockEventSink =3D MyActiveLock.EventNotifier MyActiveLock.Init() =20 What is wrong for the Initializing ?! =20 Best Regards=20 =20 J=FCrgen Zimmer =20 =20 =20 --=20 th...@sy... Thanh Hai Tran, HBIT (Human Being In Training) PGP Key: http://lytran.homeip.net/gpg/th2tran.key Web Log: http://www.bloglines.com/blog/th2tran |