Search results

  1. W

    Resolved EventHandler for ListView

    one problem is solved, the next one arrives.... how would one translate this line of code to ABL ? ListViewItem draggedItem = (ListViewItem)e.Data.GetData(typeof(ListViewItem)) I tried DEF VAR hListViewItem AS System.Windows.Forms.ListViewItem NO-UNDO. hListViewItem =...
  2. W

    Resolved EventHandler for ListView

    Thanks Osborne, works perfect ! this c# and .Net-notation ist still a pain for me as pure ABL-programmer :)
  3. W

    Answered WINDOW-RESIZED-Trigger executes on program-start

    For those of you who are interested: I contaced Progress-Support and they said it's a defect !
  4. W

    Resolved EventHandler for ListView

    Hi everybody, OE12.5, Win 8 & 10 I have to implement drag & drop on a ListView-Control and found the following C#-example: listView1.AllowDrop = true; listView1.DragDrop += new DragEventHandler(listView1_DragDrop); listView1.DragEnter += new DragEventHandler(listView1_DragEnter); How would...
  5. W

    Answered WINDOW-RESIZED-Trigger executes on program-start

    your solution works, because you display messages. Remove them and see what happens. In my 2nd post I mentioned: Funny thing is: if you display a message-box (something like 'MESSAGE "Hello World" VIEW-AS ALERT-BOX") AFTER hWin:VISIBLE, then the Window-Resized-Trigger does NOT fire btw: when...
  6. W

    Answered WINDOW-RESIZED-Trigger executes on program-start

    ...I never knew window resized event fires like that but it does. with plain ABL-windows it doesn't. Only when you embed the window in a Net-form. might be a bug.... Funny thing is: if you display a message-box (something like 'MESSAGE "Hello World" VIEW-AS ALERT-BOX") AFTER hWin:VISIBLE...
  7. W

    Answered WINDOW-RESIZED-Trigger executes on program-start

    Hi everybody, OE12.5, Win 8,10 I have an ABL-Window which I embed into a .Net-Form. After making the ABL-Window visible, the Window-Resized-Event executes, although the size of the ABL-Window has not changed. I attached a small example to show the behaviour. This is very strange and corrupts...
  8. W

    Resolved Apply the right mouse button

    It's not my day today: I first ask this question and afterwards I look at Progress-knowledgebase, where I find the solution: Progress KB - Windows API call fails with error 13712 in 11.7 64-bit and later Sorry for that !
  9. W

    Resolved Apply the right mouse button

    Hi everybody, OE12.5 64bit, Win 8, 10 since years I use the small program: Apply the right mouse button | The OpenEdge Hive to center the mouse-cursor on a specific widget, e.g. to open a popup-menu programatically. Now we have to move our application to OE12 64bit and this code throws error...
  10. W

    Resolved How to find a .NET Form

    I want the information for the embedded windows. And your idea of traversing the persistent procedures and inspecting their CURRENT-WINDOW instead of using SESSION:FIRST-CHILD is a nice one, I tried it and it works perfect ! Thanks
  11. W

    Resolved How to find a .NET Form

    forgot to mention: OE 12.5
  12. W

    Resolved How to find a .NET Form

    Hy everybody, I have a very simple program, that works since years and lists all Progress-Windows: DEFINE VARIABLE phand AS HANDLE. phand = SESSION:FIRST-CHILD. DO WHILE VALID-HANDLE(phand): IF phand:TYPE = "WINDOW" THEN MESSAGE phand:TITLE VIEW-AS ALERT-BOX. phand = phand:NEXT-SIBLING...
  13. W

    Question C# to ABL again

    Unfortunatelly I don't have Developer Studio, just "plain" Openedge 11.7.2. But thanks for the tip with "NEW", I will keep it in mind Wolf
  14. W

    Question C# to ABL again

    I'm a bit further now, I think the following statement should work: downloadResponse = document:PostToFileDownloadRelationForStreamAsync(FileDownload):Result. BUT: …I first have to define a Class-Varlable for „downloadresponse“. So I looked at the Docuware-documantation...
  15. W

    Question C# to ABL again

    Hi everybody, I have again a bit of C#-code that I should translate to ABL, but I can't really figure out how. here is the C'-code: public static FileDownloadResult DownloadDocumentContent(this Document document) { if (document.FileDownloadRelationLink == null) document =...
  16. W

    Answered Security-Policy AES-CBC-256-encryption

    forgot to mention on my first post: OE11.7.2, Win 8 this problem gets a bit mysterious now (at least for me): although my encrypted string differs from the online-encryption, I still can decrypt it with the online-tool and get the same result. See screenshot attached. Could anybody please...
  17. W

    Answered Security-Policy AES-CBC-256-encryption

    Hi everybody, I have a very simple test-program for AES-CBC-256-encryption, which I attached. My result is completely different than the result I get on Online Tool for AES Encryption and Decryption (see 2nd attachment). Can anybody please tell me what I'm doing wrong ? TIA, Wolf
  18. W

    Question How to return an error-message in a webservice

    It's not webspeed. We have an appserver running, using SOAP and WSDL. The clients are PHP and C# The clients call procedures on the appserver, which of course have parameters. So I could just add an extra parameter to the procedures, but this gives problems to currently running web-applications...
  19. W

    Question How to return an error-message in a webservice

    Hi everybody, we have an old webservice, and the guy who wrote it 20 years back returned error messages like this: RETURN ERROR "this is an error". my questions are: 1. is this text ever sent back to the web-client ? 2. if yes, how does the web-client retrieve this message ? 3. is there a...
Back
Top