Search results

  1. W

    Answered using System.Windows.Forms.ClipBoard

    Thanks Osborne ! SetData works fine, the RTF-text is saved to the clipboard, but GetData returns nothing. Read something about Clipboard auto conversion, but I have no idea where to turn it on. Maybe you have a solution for this as well ? Wolf
  2. W

    Answered using System.Windows.Forms.ClipBoard

    Hi everybody, I try to transform these 2 lines of code to ABL, but have problems with the "DataFormats". Can anybody please help ? Clipboard.SetData(DataFormats.Rtf, rtfString); lcHTML = Clipboard.GetData(DataFormats.Html); TIA, Wolf
  3. W

    Answered C# to ABL

    interesting that you found this documentation in the Docuware-Knowledgebase. I searched on it too for "base64". The first 2 hits are almost identical, apart from that the first one has an english "Topic-Title"and the second one a german header. As my language is german, I opened the second hit...
  4. W

    Answered C# to ABL

    I can't say if it makes sense or not, but now at least I understand what they are doing. Thanks Stefan !!
  5. W

    Answered C# to ABL

    Hi Stefan, thanks for your answer, but there are 2 things to mention: 1. IT WORKS, the solution I came up with works ! 2. I'm dealing with DocuWare, and they care a shit of "standards" or if one understands what they are doing. I have to encrypt part of an URL-string to view a document in a...
  6. W

    Answered C# to ABL

    Hi everybody, I have the following code that I should translate to ABL. The first 2 lines are easy, but i'm stuggeling with the last 2 lines. int length = base64String.Length; while (length > 0 && base64String[length - 1] == '=') --length; char[] chArray = new char[length + 1]...
  7. W

    "continue reading"-links

    ...At the moment you'll just have to go and search in the community itself. that's what I tried, but even there I don't find anything. Where should one look ? "Discussions" "Collaboration Groups" "Knowledebase" ???
  8. W

    "continue reading"-links

    Hi all, every "continue reading" link that points to Progress community is dead. How do i "continue reading" ? TIA, Wolf
  9. W

    Answered CTRL-Mouse-Click

    Thanks Stefan, that's exactly what I was looking for !
  10. W

    Answered CTRL-Mouse-Click

    Hi everybody OE 11.7, Windows Can somebody please tell me how to find out, if the CTRL (or ALT / or SHIFT) key is pressed while a mouse-click happens ? I'm looking for a funktion like: ON CTRL-MOUSE-SELECT-CLICK OF <button> TIA, Wolf
  11. W

    Question Type-II-database again

    yeah - since years.
  12. W

    Question Type-II-database again

    I'm aware of the fact that LOBs would be better, but this code is quite old and worked well all the time. It's from a time when there were no LOBs in a Progress-database ::) Besides: the documents are stored once and viewed occasionally, really occasionally. None of our customers ever complained...
  13. W

    Question Type-II-database again

    Hi everybody, OE11.7, Windows 8, 10 We have a Type-I-database that has only one table - it is used as an document-archive. So there are only creates, no updates at all and very few deletes. Every document is written in chunks of 16K, so if a document has e.g. 100K it needs 6 records which are...
  14. W

    Question AES CBC encryption

    forgot to mention: i'm aware of the funny thing they do in (worker.cs) "UrlTokenEncode": They are modifying the base64-encoded strings by replacing "+" and "/". I implemented the same in my ABL-code, with no success.
  15. W

    Question AES CBC encryption

    Got a C#-example that works, according to a Docuware-guy, but i'm not really able to translate it to ABL. If somebody could help out, I would be really thankful.
  16. W

    Question AES CBC encryption

    I did what Rob suggested and did a short test, using the (unchanged) SECURITY-POLICY-Setting as shown above, and using simple values für AES-key and vector. Then I did the same encryption online at Online Tool for AES Encryption and Decryption The encrypted strings are equal ! Even better: i...
  17. W

    Question AES CBC encryption

    Hi Rob, thanks for your answer, which leads me to one more question: Have you tested that you are implementing PKCS7 padding correctly? Where/how should I "implement" this ? KBase-Article 000097099 (Progress KB - Is PKCS#7 padding by default supported with AES_CBC_256 encryption in the...
  18. W

    Question AES CBC encryption

    Hi Jean-Christophe, sorry for the late answer, was away for a week. I tried the same encryption as you do. I'm quite sure that the encryption i'm doing is right, the problem is DocuWare: they seem to use the Microsoft-libraries for decryption and that's why my program fails. But this is just a...
  19. W

    Question AES CBC encryption

    Hi everybody, Win 7,8,10 OE11.7 I'm dealing with a Docuware-archive and I have to encrypt a string with following conditions: o Block Size = 128 Bits o Cipher size = CBC (Cipher Block Chaining) o Initialization vector (IV) = 128 bits o Key length = 256 bits...
  20. W

    Question SHA-512 hash-codes

    Found the solution, but don't really understand ! First thing: if one adds... SECURITY-POLICY:PBE-KEY-ROUNDS = 1. /* just 1 hash algorithm iteration */ ...the result is almost the same, the strings differ only at position 5 and 32 Seond: the funny thing: If one uses HEX-ENCODE, the first...
Back
Top