Recent content by jke

  1. J

    database disconnection problems

    Hello, I've got the following problem. I've got a procedure that connects and disconnects databases required to compile files. I've got a procedure that compiles files. I run these as follows (more or less): for each ttfile no-lock: run connectdbsforfile.p (ttfile.filepath). run...
  2. J

    Handle problems

    I think this is what you need (quick and dirty example): cQuery = "For each table where table.field = 'something' and table.otherfield = 'somethingelse' ". dynamic-function('setQueryWhere':u in h_nameofsdo, input cQuery). dynamic-function('openQuery':u in h_nameofsdo). If you do not yet have...
  3. J

    change opsys in dos

    Thank you! You are my hero ;-)
  4. J

    change opsys in dos

    good question. We've got 3 million lines of code. Nowadays we no longer use the opsys preprocessor (because most developers work on windows, even if they code for unix). But going through all the old code is a hell lot of work we'd like to avoid if possible.
  5. J

    change opsys in dos

    Hello, in windows you can change opsys by creating a .ini file with the following lines: [startup] Opsys=UNIX and start prowin32 with -ininame Pathtoinifile However, this does not seam to work for _progres (the dos client). Does anyone know if it is possible to change the opsys value on...
  6. J

    wait-for creation of file

    One detail I didn't mention is that I also control the process that produces the files. So I've solved the problem in another way: I've made a sonic queue on which the dos process is listening, I put a message on that que when the file is created so it can be handled. This way I can wait without...
  7. J

    wait-for creation of file

    delays are to be avoided The session itself is running in DOS (yes I know ;-)). Delays should be avoided as much as possible.
  8. J

    wait-for creation of file

    Hello, I am currently writing an application that has wait until a file exist, if it exist, handle the contents and delete it and again wait until it is recreated by another process. The only sollution I have found so far is the following: do while lContinue: file-info:file-name =...
  9. J

    currently open file in Procedure editor/AppBuilder

    Step 1 is solved. We found the name of the open file in the procedure editor. Step 2: AppBuilder ;-) hanProEditor:NAME contains the filename at the end of the following procedure. DEF VARIABLE hanEditWindow AS WIDGET-HANDLE NO-UNDO. DEF VAR hanProEditor AS WIDGET-HANDLE NO-UNDO. DEF VAR...
  10. J

    currently open file in Procedure editor/AppBuilder

    I do not mean when opening the file in de procedure editor. There is does show the full path in the title. The problem is when the file is openend with appbuilder, where you can do the gui design. There you cannot see the full path in the title of the window being designed.
  11. J

    currently open file in Procedure editor/AppBuilder

    Yes there might be several files with the same name in the propath.
  12. J

    currently open file in Procedure editor/AppBuilder

    Hello, we are currently trying to add some functionality to appbuilder and the procedure editor. We have added buttons to pro*tools. Now we have a problem: We seem unable to determine the file being currently edited. Is there a way to know the filename (absolute path)? We already found the...
Top