Search results

  1. M

    Select statement with variable tables

    Might be, but also might not be. DBAnalysis takes about 2-3 hours to finish, so if I can set up a method which is faster, I'd prefer that solution instead. But to decide which way is faster I have to try the SQL way.
  2. M

    Select statement with variable tables

    Hi there, in fact I feel pretty stupid to ask such a question, but I can't figure out how to solve my problem. I want to execute a simple select statement as the following: SELECT COUNT(*) INTO i FROM TableName. So far no problem, if I always write an actual table name into the statement. But...
  3. M

    Loading Sequence.d and Users.d

    Hello, we're currently working on a migration from one ERP system to it's successor. Both, the new and old version use the progress database as a foundation. We have to dump and load the whole database in the migration process and that's where our problems start. We have to dump and load the...
  4. M

    Checksum creation with 4GL

    Hi there, for a new project I need to create a crc32 or md5 checksum from a given file and save it back to the database. The last part is, of course, easy and not my problem. I searched across the web and wasn't able to find a solution for my problem, as I don't want to use an external 3rd...
  5. M

    Blocking Alt+F4

    Hi, I have a rather strange problem, but I have to use tough means to force a person to klick on a button. Lets say I have a (smart)window. I deleted the menu, the close, minimize, maximize buttons, it doesn't appear in the task bar. Everything alright so far. But the user is still able to...
  6. M

    Running .w from a dialog box

    Hi, I did it the following way and never had problems with it: DEFINE VARIABLE yWINDOW AS WIDGET-HANDLE NO-UNDO. DEFINE VARIABLE lMyHidden AS LOGICAL NO-UNDO. yMyWindow = FRAME {&FRAME-NAME}:HANDLE. /* Handle of dialog */ lMyHidden = FRAME {&FRAME-NAME}:hidden. /* get hidden...
  7. M

    Problem with extractpl.bat / prolib.exe

    Thank you for your answer and the hint about the KB article. I will try it this way :) Greetings Mav
  8. M

    Problem with extractpl.bat / prolib.exe

    You are perfectly right. The L:\ drive is a shared drive on one of our DB servers. I tried one more backslash, but still without success. Is it possible to copy necessary files to my C:\ drive and start the unpacking from there ? Greetings Mav
  9. M

    Problem with extractpl.bat / prolib.exe

    This sounded pretty good, so I checked my registry entries. Every key in my registry has the value I assiged to the %DLC% variable. :( Greetings Mav
  10. M

    Problem with extractpl.bat / prolib.exe

    Hi, I'm using Progress version 9.1e and I'm trying since days to extract the adecomm.pl and adeedit.pl files. Progress has a nice batch file on-board which should do this automatically. Progress installation in Path L:\dlc91 , so I set the %DLC% variable to "L:\dlc91" also. Furthermore the...
  11. M

    Writing integer values to a file

    Thanks for this piece of code, now I more or less got it how to do it :) As for your question with the hexeditor: Yes, if you look in the file with a hexeditor the integer value must be inverted like my little example. Thanks a lot again :) Greetings Mav
  12. M

    Writing integer values to a file

    The problem is neither to get my integer value into a hex-string or order the 4 Bytes in an array or TT. My problem is that I dont have a clue how to get the my string correctly into the file. If I do it the normal way like put stream xyz unformatted cMyHexString at 1. then progress...
  13. M

    Day

    I don't know if this way is very useful, but I like to do this with a simple array: DEFINE VARIABLE cDay AS CHARACTER EXTENT 7 INIT ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] NO-UNDO. DISPLAY cDay[WEEKDAY(TODAY)]. Tho in this example...
  14. M

    Windows XP Search Registry Fix

    I like to use Agent Ransack. Searches very fast after and in a file. Best feature is the tool shows you the line(s) where it found the string inside the file. Very easy to see this way if you found the right file or not :) Greetings Mav
  15. M

    Writing integer values to a file

    Hi, I have the following problem: Lets say, I have an integer value like 0701010111 and want to write this value into a file. Afterwards I should find in the file something like "04 2D A8 13" (Hex value of above integer). To make the task even harder, the 4 bytes have to be in reverse byte...
  16. M

    Communication between Smart Objects

    Hi again, seems there are plenty of methods for the communication between the smart objects or procedures itself. I tried every solution so far and although I like to go with the progress of the programming language, I'll use the V9 methods for my purposes (although the Publish/Subscribe...
  17. M

    Communication between Smart Objects

    Thanks a lot for for the responses. I tried your examples and they work great :D Greetings Mav
  18. M

    Communication between Smart Objects

    Hi, this might be a more or less easy question for the experts here, but I still can't get it work properly. Let's assume this: I have a SmartWindow with a SmartViewer and a SmartBrowser. In my Viewer is a button which has to call a function (or procedure) in the SmartBrowser. The question...
  19. M

    Problem with SmartViewer and TempDB

    Hi, first of all, I'm developing in Progress v9.1C21 and I have a strange Problem with displaying predefined Temp-Tables (in TempDB) in a SmartViewer. I'm doing it the normal way, creating a SmartWindow and putting a SmartViewer on it. Then I define my TempTable in the Procedure Settings and...
Top