Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

License on the customers computer

Last post 10-17-2008 2:42 PM by sabrina_c. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-01-2008 8:30 AM

    License on the customers computer

    In the ERM diagram documentation about how to license components with my application it is written that the component will check for the XML license file you supplied when I registered my components First on the software installation folder, then in the embedded resources of the program.

    I've first added the license xml file as an embedded resource to both the DLL who uses the component and the EXE using that DLL, I've used the Add Existing Item selecting the file from the components folder putting it into the reosurces.resx file.

    But when installing on a computer different from the developing machine the first time I open a diagram the message telling me the component is not registered pops up.

    Then I've tried putting the xml file as a content file into the installation folder, but still it doesn't work.

    Maybe I haven't read correctly the help instructions and I'm doing something wrong, do you have any suggestions on this?

    Thank you in advance

    Sabrina

    • 77.93.237.146
  • 10-05-2008 5:32 PM In reply to

    Re: License on the customers computer

    The best option is to add the licence file to your project as an embedded resource. Make sure you elect this from the properties window in Visual Studio.

    You can also make sure the license file is in the same folder as your .exe on the client's computer.

    • 196.207.32.37
  • 10-17-2008 2:42 PM In reply to

    Re: License on the customers computer

    Sorry if I answer late, but I got user feedback only Yesterday.

    The problem I got is due to the fact that Visual Studio 2008 when you put a file or an image in the embedded resources by default sets it as "Linked at compile time" When I changed it to "Embedded in .resx"  the program worked and the license demo message disappeared. Just in case someone else has the same problem.

    thank you again

    Sabrina

    James Westgate:

    The best option is to add the licence file to your project as an embedded resource. Make sure you elect this from the properties window in Visual Studio.

    You can also make sure the license file is in the same folder as your .exe on the client's computer.

    • 77.93.237.146
  • 10-17-2008 2:42 PM In reply to

    Re: License on the customers computer

    Sorry if I answer late, but I got user feedback only Yesterday.

    The problem I got is due to the fact that Visual Studio 2008 when you put a file or an image in the embedded resources by default sets it as "Linked at compile time" When I changed it to "Embedded in .resx"  the program worked and the license demo message disappeared. Just in case someone else has the same problem.

    thank you again

    Sabrina

    James Westgate:

    The best option is to add the licence file to your project as an embedded resource. Make sure you elect this from the properties window in Visual Studio.

    You can also make sure the license file is in the same folder as your .exe on the client's computer.

    • 77.93.237.146
Page 1 of 1 (4 items)