How can I use a licensed windows forms control on a web page? How is declared the license? Have I just to place the license file in the same virtual directory as the dll? It seems it is not the case.
Patrick Lassalle
Posts
-
A licensed windows forms control on a web page -
Diagrams in .NETThere is also: - AddFlow for .NET from Lassalle Technologies.An evaluation version can be downloaded at: http://www.lassalle.com/download.htm#.NET - Metadraw from Bennet-Tec - ERM3 from Crainiate 2 remarks: - AddFlow is the best - I am the author of AddFlow ;-)
-
Visio-like drawing component/frameworkI recommand you my flowcharting product: AddFlow for .NET. You can download an evaluation version at: http://www.lassalle.com/download.htm#.NET
-
Background mode and GDI+I would like to draw text with a OPAQUE or TRANSPARENT backgound mode. How to do that with GDI+? In other terms, under GDI+, how to obtain an effect similar to the SetBkMode and SetBkColor functions of GDI?
-
Licensing and wrapping controlUnfortunately, this is not allways possible. Sometimes, you cannot change the the host app because you have not its source code. It is the case if you use the control under ASP.NET (aspnet_wp.exe). In such a case, it seems that the licensing provided by .NET is not working.
-
Licensed controls and ASP.NETIt seems that the .NET LicenseProvider does not work if the user is not allowed to modify the executing assembly, for instance, if the licensed control is consumed in an ASP.NET web application. What are the possible workarounds?
-
LicensingIn your first message, you asked if anyone had any problems with the licensing. I have the following problem: - I create a basic Windows Forms Control with a basic licensing (LicFileLicenseProvider). Let us call it Dummy.dll. - If I use it in a windows application (DummyTest.exe), the licensing is working correctly - If I wrap dummy in a another unlicensed control (DummyWrap.dll) and if I use DummyWrap in a windows application (DummyWrapTest.exe), the licensing does not work anymore (Notice that DummyWrap has a licenses.licx file since it uses Dummy.) - Then if I add a licenses.licx file to DummyWrapTest itself, the licensing is working again. (I thought initially that the licenses.licx file was not necessary because DummyWrapTest is only using DummyWrap. It does not see Dummy. - However there are cases where I cannot add the licenses.licx file to the application, for instance if this application is ASP.NET (I have not its source code!). I don't know what to do here to avoid the "license not found" message.
-
LicensingIs your licensed control in the GAC or in a normal directory? Do you use your control in an application or a DLL (class library, wrapping control)?
-
LicensingIn the project folder of the application that uses your control, you should have a licenses.licx file. This file must be included in the project and it must contain a line identifying your control. If this is not the case, this is the reason of your problem.
-
Implementing Serial number / Trial versionA possible solution: encrypt the serial number with an asymmetric algorithm. Even after decompilation, people will find the public key needed to decrypt the serial number but they will not find the private key needed to crypt it.
-
Licensing and wrapping controlI have created a .NET Windows Form control. This control is licensed, using the standard licenseing classes of .NET (License class, LicenseProvider class, etc). This is working when the control is used in an application. However, it seems this does not work when the control is used in a wrapping control or a class library. Is this a known problem? Is there anything special to do?
-
Customize toolbox during setupI am creating a "Visual Studio .NET" deployment project to install some component assemblies. I would like that the setup program make the assemblies appear in the Visual Studio .NET "Customize Toolbox" dialog box.
-
Install assembly in the GACI have finally discovered that the Deployment project in Visual Studio .NET offers a GAC folder. I have just, when creating my deployment project, to place my assemblies in this folder. And now, I have another question: I would like that the setup program make the assemblies appear in the Visual Studio .NET "Customize Toolbox" dialog box. How to do that?
-
Copy local = FalseYes, you are right... In fact, the correct place for this assembly would be the GAC (Global Assembly Cache). However, I don't know how to tell my setup program to place the assembly into the GAC. (I am creating a Deployment Project)
-
Install assembly in the GACI am creating a setup project and I would like to install some assembly files into the Global Assembly Cache (GAC). How to indicate that in the setup project?
-
Copy local = FalseI have created a Windows Form control and also an application that uses it. When I reference the control, if I don't choose "copy local = true", the it throws a System.IO.FileNotFoundException. What may be the reason?
-
LicensingI have purchased an obfuscator (from Preemptive Solutions).
-
LicensingThanks very much. I have followed your advices and have finally been able to solve my problem!
-
LicensingI am facing some difficulties with the licensing scheme in .NET. I have created a solution with 2 projects: - a licensed windows form .NET control (written in C#) - a small application hosting the control (written in VB) Currently, I just try a basic licensing using the .NET LicFileLicenseProvider. I am quite sure to have written the code as indicated in the .NET doc. However it does not work. The license exception is raised except is the license file is placed in the application exe directory. It seems that no license key has been embed in the .exe. Does anybody has faced such a problem? How to solve it? (I use .NET v1)
-
Installation toolThanks. The Deployment wizard seems to be a very good starting point. It is a good surprise for me. Until now, I had not noticed its existence.