Today i cannot find my tool on the docker menu. This tell me also some clients. But it was never a problem until now on my computer.Maybe i need to edit some corel setting file?
Is the same Corel version the code has been designed for?
Did you installed other custom dockers in the mean time?
Yes it is the same Version. I try also released and debug variant. No i don't installed any docker. I need to start corel with F8 yesterday because it crashed everytime when i try to create a new page.Since i start it with F8 i cannot see my docker. This is only on Version 2021 a problem on my computer. But on other customers it is also a problem with other corel versions. When i export the Settings (Dockers) from a working corel, and import it to a not working corel. i can bring it to work.
I found out something:Now I have restored an old version from my git repository.Then it works again.With the newer version I have a licensing tool from Soraco QLM in it. Can it be that Corel or Windows has problem with it when my Docker wants to do the activation of the license in the background?
Note: If I then start the Docker with the QLM. (Latest version) everything works again. It seems that Corel or Windows now sees this Docker as trustyworthy.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
protected string webServiceUrl = "">qlm3.net/.../qlms____.asmx"; public DockerUI(object app) { bool needsActivation = false; string errorMsg = string.Empty; InitializeComponent(); try { this.corelApp = app as corel.Application; stylesController = new Styles.StylesController(this.Resources, this.corelApp); } catch { global::System.Windows.MessageBox.Show("VGCore Error"); } laserTypComboBox.SelectedIndex = 0; LoadData(); bool licenseValid = lv.ValidateLicenseAtStartup(Environment.MachineName, ref needsActivation, ref errorMsg); if (needsActivation || !licenseValid) { TB_License_Info.Text = licenseValid.ToString(); } if (licenseValid) { int temp = lv.EvaluationRemainingDays; Expander_Settings.IsExpanded = false; //string filter = String.Format("OrganizationName='{0}'"); string dataSet = string.Empty; string response = string.Empty; if (temp == -1) { var name = lv.QlmLicenseObject.GetCustomerInfo(webServiceUrl, activationKey);// (webServiceUrl, activationKey, out name); TB_License_Info.Text = licenseValid.ToString(); LicFeatures = ((byte)lv.QlmLicenseObject.Features); } else { TB_License_Info.Text = errorMsg; Expander_Settings.IsExpanded = true; LicFeatures = lv.QlmLicenseObject.Features; } } else { Expander_Settings.IsExpanded = true; TB_License_Info.Text = errorMsg; LicFeatures = 0; } LicFeatures = lv.QlmLicenseObject.Features; SetFeatures(); string version = corelApp.Application.VersionMajor.ToString(); TB_Info.Text = "CorelDRAW Version " + version; }