Posted 8 years ago by Radjesh Klauke - Mr., X-impress
Version: 4.0.0288
Avatar
I'm not sure If I'm doing this correct, but here I go:

I created a testeditor a button to save the language and encrypt it for another testApp2. I copied the text of the ActiproSoftware.Assembly.xml and pasted into the editor:

btn_save_click...
  editor.document.savelanguagetoxml(mypath & "\assembly.xml", 123)
Loading the language in the testApp2:

editor.Document.LoadLanguageFromXml(mypath & "\assembly.xml", 123)
But I'm getting an error: The syntax language type 'testEditor.html.... << here's where it goes wrong. The assemblyname of the testApp2 is "testApp2". How do I change it to testApp2 while saving? Or do I need to save and encrypt it with testApp2 itself?

[Modified at 03/18/2011 08:03 AM]

Comments (4)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
It will save it out as whatever type it is and assembly it is in at the time. So to get it to save indicating it is in testApp2, you'd have to save it from testApp2 as you said.


Actipro Software Support

Posted 8 years ago by Radjesh Klauke - Mr., X-impress
Avatar
What....?

I guess you're simply saying: Yes, you need to save and encrypt it with the assembly (.exe) you are going to use.
Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Correct.


Actipro Software Support

Posted 8 years ago by Radjesh Klauke - Mr., X-impress
Avatar
Thanks
The latest build of this product (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.