Recent content by trx

  1. T

    Linux Client Displayed Rows

    I think it is worth mentioning that Progress can resize terminal window. So you can have for example in your protermcap file definitions for linux terminal: :li#25, :co#80 and for example linux-wide :li#25, :co#132 and by changing TERM you can resize window (I guess that also require proper...
  2. T

    Question How to Hide Static Browser Column?

    GUI: br1:first-column:visible = false. CUI won't allow you to hide column. So probably the best option is just shorten column and change its screen value. To change screen value you need to store handle to column you want to hide and use it in on ROW-DISPLAY event. ON ROW-DISPLAY ANYWHERE DO...
  3. T

    CHUI 10.1C04 - accelerators/keyboard shortcuts unexpected behaviour

    Hello, OE 10.1C04 CHUI, I have encountered unexpected behaviour while working with accelerators/keyboard shortcuts. I have attached simple test case to demonstrate it. Both attached files should be placed in /tmp, then in 4GL editor just run /tmp/accel_a.w. There is window with menu in...
  4. T

    Running transactions in a tight loop without monopolizing resources - nice Progress

    Re: Running transactions in a tight loop without monopolizing resources - nice Progre I guess you could try to implement something like nice using VST. Just query VST to detect busy time and then pause. That could be more effective that just pause every 100/200 iterations. As you mentioned...
  5. T

    invoking Microsoft Word (spelling)though Progress problem

    Maybe you just need to show Word after creating it. Your code works with MS Word 2003, WIN7 64-bit, OE 10.1C (32-bit) with wordAppl:Visible = TRUE line and just hangs up without that line. CREATE "Word.Application" wordAppl. wordAppl:Visible = TRUE. ASSIGN editor_booktext
  6. T

    backup batch script for after image daily backup

    If you don't use multiple AI files, then you cannot recover in case of database crash. I am not quite sure, but in case of crash you will have damaged database and no good (complete) AI file - you will have database backup from previous day which you can restore, but you won't have "finished" AI...
  7. T

    Required to reboot server to restart database.

    I am not quite sure whether upgrade 10.1B -> 10.1C requires anything. I am sure that for database itself it is enough to truncate BI in 10.1B and then start database using 10.1C. No need for recompiling. IIRC you don't even have to upgrade clients - at least till you compile code with features...
  8. T

    Required to reboot server to restart database.

    Try upgrade to 10.1C04. 10.1B on Linux had some user/memory locking related problems - maybe Windows version also has similar problems. Also, your -B is relatively small comparing to database size and -L is quite big. If you don't use after image then you should implement it ASAP - it is quite...
  9. T

    Session Trigger question

    For that purpose you can add directory with custom programs at the beginning of PROPATH. If you place there your version of gmcmmt01.p then Progress executing RUN will run it instead of original one. If you need to call original gmcmmt01.p from your procedure, then simply go through PROPATH and...
  10. T

    OLE, "Struct" problem with StarOffice

    There is no easy solution to this problem, because AFAIK OpenEdge lacks array support. However you can deal with this problem using external programs / modules: 1) Create your own COM object that will deal with array functions - so some objects you call with ABL and some with your COM object...
  11. T

    How to disable the Fill-in?

    Change "subtype" attribute to "native" before widget realization. FILL-IN-1:SUBTYPE = "NATIVE".
  12. T

    Problem with (shared) record buffers

    I am not sure whether this apply to your problem, but is somewhat similar. I mentioned some time ago (http://www.progresstalk.com/showthread.php?117561-RELEASE-of-the-record) that sometimes buffers and temp-tables can cause unexpected behavior (Progress 10.1C04). DEF TEMP-TABLE tt NO-UNDO...
  13. T

    utf-8 printing

    I see a lot of misunderstanding what printer does. Printer is specialized interpreter controlling some hardware that takes some kind of program and use printing mechanism to create printout. When you click "Print" in notepad 2 things occurs: 1st notepad calls some windows functions to create...
  14. T

    utf-8 printing

    TSP100 is not valid printer name - it is just file name, so when you do "COPY ..." then you only copy ticket.txt to tsp100 . If you want to send it to printer then use copy c:\ticket.txt \\computer_name\printer_share_name (I am not sure whether you need to share this printer first or not)...
  15. T

    Selection using UTF-8

    I would check why expected record doesn't appear in query with simple for each run from plain _edit.r: on find of <table> override do: end. <fill charvar1 and charvar2> for each <table> no-lock where recid(<table>) = expected record recid and <table>.<charfield> >= charvar1...
Top