Recent content by curly

  1. C

    "roll forward" takes for ever!

    Hi Ron, We have the same problem as well with AI roll-forward taking up to 30min – quite a big problem considering that we create and ship our AI files every 5 mins. :mad: Comment on this topic from Gus: “This has become a common problem. It didn't used ot be one. It is mostly caused by the...
  2. C

    wmp.dll

    Hi Karel, You just need to assign URL property of the ocx. Example: chCtrlFrame:WindowsMediaPlayer:url = "c:\Windows\clock.avi" Regards, Marian
  3. C

    No .wrx file created when compiling

    *.Wrx files are created when you insert / update ocx in Application Builder. Compilation does not modify them in any way. If you lost your wrx you could: Open the *.w in Application Builder; re-insert ocx and save OR Retrieve the wrx from a backup / roundtable repository / … Regards, Marian
  4. C

    Error in prorest

    It takes some time to shut down a database. "Dbman –stop" usually finishes before all DB processes are down. Your process works from command line because it takes you some time to type the next command. While you are typing “prorest command” Progress has enough time to finish shutdown of all...
  5. C

    OCX Noob Question. Please help.

    chTagViewer variable is handle to OCX container – not to OCX itself. Use the following syntax to assign OCX properties: <ocx-container-com-handle>:<ocx-name>:<property-name> = <new value> Assuming that the name of your TagViewer OCX is “TagViewer” your assign statement should look like...
  6. C

    Process ID

    If you are after the process ID of the Progress session running your 4GL code you could use the following code: define variable liProcessID as integer no-undo. run GetCurrentProcessId(output liProcessID). message liProcessID view-as alert-box info buttons ok. procedure...
  7. C

    Interprocess Communication

    You could use proxygen to generate java classes capable of calling Progress AppServer procedures. Using this method you could access progress procedures from Java. Ragards, Marian
  8. C

    ProxyGen Error

    Hi, According to your log file your proxygen doesn't use correct proxygen settings. Your log file: ... Creating strongly typed dataset classes ... csc /t:exe ... Based on your setting it should be: Creating strongly typed dataset classes ...
  9. C

    section-editor shortcuts

    Dude, You must have a different version of Windows than I do. My version doesn't support Block selections (Ctrl-B) and Line Selections (Ctrl-L) and Ctrl-E, Ctrl-K, Shift-F6, Shift-F7, Ctrl-Shift-Space, ... :blush: My apologies to all owners of Lord Icon's version of Windows. Marian
  10. C

    section-editor shortcuts

    Hi Anne, This is a list of shortcuts I am aware of (I hope it helps): Navigation functionality: Ctrl-Left Move to previous word Ctrl-Right Move to next word Ctrl-Up Move to previous procedure block Ctrl-Down Move to next procedure block Ctrl-Pg-Up Move to top of window...
  11. C

    Progress Explorer Tool

    If you use _mprosrv, _mprshut, proserve or proshut in your script then you could loose visibilty of the dbs from PET. To keep the visibility use dbman instead. Example: dbman <PET's DB name> -start dbman <PET's DB name> -stop Regards, Marian
  12. C

    .....browsing the window......

    To access files / directories use statement: SYSTEM-DIALOG GET-FILE Example: define variable cFileName as character no-undo. system-dialog get-file cFileName filters "Text Files (*.txt)" "*.txt", "Xml Files (*.xml)" "*.xml", "All Files (*.*)" "*.*" initial-filter 1...
  13. C

    (large) Editor:screen-value

    Hi Dayne, Try this: define stream st1. define variable iOffset as integer no-undo. define variable cLine as character no-undo. ... iOffset = editor:convert-to-offset(iLine,1). editor:save-file(cTmpFile). input stream st1 from value(cTmpFile). seek stream st1 to...
  14. C

    create in triggers

    Error: Attempt to CREATE a <table> record in <procedure> while a trigger is executing. (3168) is displayed when you try to create a new record using the same buffer as the trigger buffer. Solution: define a new buffer for the same table and use it to create your new record(s) Warning: by...
Top