Profile Picture

Deployment

Posted By Massimo Colurcio 6 Years Ago
Author
Message
Massimo Colurcio
Problem Posted 6 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 2, Visits: 34
I'm testing NOV Text Editor with my application (C#, .NET Framework 4.5) that must read, edit & save HTML code.
Everything seems ok, I can read, edit and save the edited HTML code; but there is a weird problem: after compiling in release mode (AnyCPU) and copied with all the DLLs (+ Nevron.Nov.Host.WinBase.dll than isn't referred by Visual Studio, but must be included) on the host computer. The program starts correctly but the Text Editor is empty; I mean that it seems the foreground color is white (and the background color too).
Trying to type something the caret goes to right but the character does not appear. I tried to change colors, fonts, styles with no results, or - to be more precise - I can recognize that the font is changed and the style changes to looking at the caret (height changes with font size & orientation changes with italic on/off).
If I 'blindly' type something and then save the file in HTML format, the saved file contains the typed text and, opened with a browser, it's correct and visible.
I tested on Windows 7 32 bit & Windows Server 2012 64 bit, both with .NET Framework 4.7.
I'm working with the TRIAL version that I installed this morning (Nov_2017V01).

Am I missing something?
Am I doing something wrong?

Thanks
Massimo


Nevron Support
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 3,054, Visits: 4,009
Hi Massimo,

Thank you for your interest in NOV Rich Text Editor. This is caused because the control cannot find a valid license key. When you install the product (NOV) on a machine it will automatically generate an evaluation license key good for 60 which you can apply through code in your compiled application and distribute with them. For example:

using Nevron.Nov;
using System;
using System.Windows.Forms;

namespace WindowsFormsApp4
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

NLicenseManager.Instance.SetLicense(new NLicense("360e4975647700689dbae656063cb6e6969600f5029a0cd1"));

Application.Run(new Form1());
}
}
}

Shows the program entry point of a standard WinForm app which unlocks NOV for evaluation (the key was generated today and you can also use it in your application). You can apply the license key anywhere in the program before you actually show the control (form constructors / load etc.). The automatically generated key can be found when you launch license key manager shipped with the product. 

Hope this helps - let us know if you meet any problems or have any questions.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic