This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I downloaded the trial version of WPfPropertygrid last week but have not been able to evaluate it as I get the following error whenever I try to instatiate it: "An instance of type 'Mindscape.WpfPropertyGrid.PropertyGrid' was being created, and a valid license could not be granted for the type 'Mindscape.WpfPropertyGrid.PropertyGrid'. Please, contact the manufacturer of the component for more information." I am trying to instantiate it from code, rather than xaml in case that's important. Is this supposed to happen? I thought you could use it for 14 days? |
|
|
Just a bit more information - The problem occurs in an existing windows forms project, which is where we will initially need to use it as a replacement of the win forms propertygrid. It does work if declared in the xaml or code of a new WPF Application project... |
|
|
Hello Bill, It sounds like the licenses.licx of your Windows Forms project may not contain a reference to the property grid licence. This is normally handled for you by the WPF designer, but since the WinForms project will obviously bypass the designer you would need to add an entry to licenses.licx by hand. Have a look at this: http://www.mindscape.co.nz/forums/Thread.aspx?ThreadID=1309 especially step 2, with the caveat that you may need to edit an existing licenses.licx rather than copying one of ours. Let us know if this doesn't help or if you need more info. |
|
|
I am also having problems with the trial version. I tried everything suggested in the post at the suggested link, but to no avail. The message I am getting is: Mindscape WPF Property Grid Trial license expired on 1/16/0001.
"Error 3 Exception occurred creating type 'Mindscape.WpfPropertyGrid.PropertyGrid, Mindscape.WpfPropertyGrid, Version=2.0.571.9838, Culture=neutral, PublicKeyToken=0f2f2e3bf9b0527c' System.ComponentModel.LicenseException: A valid license cannot be granted for the type Mindscape.WpfPropertyGrid.PropertyGrid. Contact the manufacturer of the component for more information. C:\Dev\Products\CrystalMation\Source\Application\Imager\My Project\licenses.licx 1 Imager" This is a VS2008 VB.NET WPF application. Please advise. Thanks, Chris |
|
|
This looks like there's been some sort of installation error, where it thinks you started using the product on 1 Jan 0001, possibly due to some sort of registry issue. I've never seen this before and we'd need to rope in our licensing vendor to resolve it, which would slow things down, so I'm going to send you a replacement licence file instead. Should be with you in the next ten minutes or so; let me know if you don't receive it or if it still doesn't help. |
|
|
Ivan, Thanks. That fixed it! Chris |
|