on 09-24-2018 9:02 PM
I have created a PowerDesigner extension which contains an ExtendedSubObject in which I am embedding various text files, such as logs and JSON schemas.
I am able to see the contents of the files by invoking the "obj.Edit()" method on the embedded file. This opens it in the local default editor. However, I want to access the contents of the text files programmatically in order to do things with them.
Is there a way to get the contents of the files? I tried using the "obj.Content" property, but it returns Hex code only. I could translate the Hex into ASCII (and indeed, I've done so), but I was wondering if there is a better way to do this.
Any help will be appreciated.
- j.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.