Search results

  1. D.Cook

    Is it possible to import values from multiple sheets of same excel file?

    If you do need to read from an Excel document (xls or xlsx) you can use ActiveX to control Excel and read the data you need (requires Windows with Excel installed of course). These functions should get you started: CREATE "Excel.Application" chExcel. /* create a new Excel...
  2. D.Cook

    Line number in protrace file

    Thanks, discovered that and the PREPROCESS option. Now just need to work out which version the client has so I can check the right version of the code..
  3. D.Cook

    Line number in protrace file

    I thought it'd be fun to try and work out what was causing protrace errors. Some of the info seems helpful, particularly the ABL stack trace. But I'm not sure how to read the line number given.. Obviously it's not the original source line number, so I tried generating a listing file (COMPILE...
  4. D.Cook

    Minimizing a Progress window to the System Tray

    We did this a while ago with a .NET application to create the icon (see NotifyIcon class) and using simple socket communication with the Progress application. You could use os-command to initiate the .NET application. Use WINDOW:SHOW-IN-TASKBAR = NO and WINDOW:HIDDEN = YES to make the window...
  5. D.Cook

    MD4 Hash

    Thanks guys, have tried searching for details about the libcrypt shared library or any shared library with an MD4 implementation and am not having much luck. I'm really not sure what for or where to look..
  6. D.Cook

    MD4 Hash

    Yeah I thought about rolling my own, and came to the same conclusion. As fun as it would be :P I see you're right, however the part that I need to do (because the rest is handled by a third party library) is provide what's labelled on that page as an "NT Hash" of the user's password, which is...
  7. D.Cook

    MD4 Hash

    Thanks Rob, didn't realise MD5 was available in OE now. Unfortunately it is actually MD4 which is used in NTLMv2..
  8. D.Cook

    MD4 Hash

    Any suggestions on how to do an MD4 hash in Progress (platform-independent preferably)? I'm trying to implement NTLMv2 authentication...
  9. D.Cook

    Output to Socket

    I would love to redirect the program output to an open socket object.. has anybody tried this and come up with a clever solution, or have any ideas? I have a couple hundred old programs that output to file (eq with display statement), but I'd like to output unbuffered directly to a socket (to...
  10. D.Cook

    Add/Remove Index Fields

    Seems not:
  11. D.Cook

    Add/Remove Index Fields

    The data dictionary doesn't seem to offer a way to add or remove index fields, but before giving up I thought I'd ask if it is possible, whether through loading a DF or any other way. I want to do this mainly to avoid making mistakes deleting and re-creating the index.
  12. D.Cook

    INPUT THROUGH on Windows flashes a console window

    Thanks, but I'm hoping to fix this issue in GUI mode. Exactly, this inconsistency seems to have been successfully ignored..
  13. D.Cook

    Old Progress KB dead?

    I'm afraid I may be to blame for this: a few months ago I mentioned I was using the KB (from a browser bookmark) to a Progress support rep and they were a bit surprised that it was still running. Shortly after, it was no longer running.. Thanks Tom for the link, up until now I couldn't find any...
  14. D.Cook

    INPUT THROUGH on Windows flashes a console window

    Is there any way to stop that from happening? It's really annoying, and INPUT THROUGH is much more preferable to writing/reading/deleting temporary text files. The documentation doesn't even acknowledge that the function might be used on Windows..
  15. D.Cook

    Difference between SELF and SERV database process types

    I think I've worked it out now but just want to confirm the difference between these two database process types (listed in promon user list): SELF: a process on same machine connected with -db param pointing to database file SERV: a TTY process (eg on same machine) connected with -H and -S...
  16. D.Cook

    Excel Column Formatting Question

    Wow thanks tamhas, this library looks extremely useful, especially allowing us to export reports on a unix server! You can set the cell format to text with the following command. Although note that Excel may display a warning about numeric values stored as text (this warning could be disabled...
  17. D.Cook

    Optimising client connection over remote network

    Thanks Rob, I haven't come across the -q and -mc parameters before, they look useful. The majority of our code is stored on the last of multiple propath entries on a network location, so -q should be useful in our situation. I've experimented with -cache in the past, but there doesn't seem to...
  18. D.Cook

    Optimising client connection over remote network

    Turns out to be a completely separate issue -- thanks users for telling me about the error messages they were receiving.. Nevertheless, any tips are greatly appreciated. In case anyone's looking a few client parameters I've found may help, though I wouldn't expect big changes: -l (Local buffer...
  19. D.Cook

    Optimising client connection over remote network

    Our Progress client application is pretty data-intensive, and therefore network-intensive. Generally this isn't a big issue for local networks, but when clients want to deploy the application over a remote network, they sometimes run into serious performance problems. I'm talking about capable...
  20. D.Cook

    Turning Color Coding (Syntax-Highlighting) back on in OE10.1A

    Ha, yes we will have to leave the understanding to those with superior pay grades..
Back
Top