Search results

  1. S

    Send commands to unix server from client application

    For most of the servers this is working ... but for some of them not due to next error: "SERVER02: Permission denied" when executing the cOSCommand. Perhaps it is a setting on the server but I can't find it ... Somebody an idea? I'm not a UNIX expert :o Would appreciate any help. Thanks...
  2. S

    Dynamic updateable browse - CURRENT-ROW-MODIFIED

    OK, I'm feeling really stupid now :-$ I learn every day from this forum ... Cheers Osborne.
  3. S

    Dynamic updateable browse - CURRENT-ROW-MODIFIED

    Nobody any idea how to save changes in a dynamic updateable browse based on a temp-table or buffer? :confused:
  4. S

    Dynamic updateable browse - CURRENT-ROW-MODIFIED

    Hi, Following is troubling me in a multi-user environment... Ive got an input paramater as string that refers to a table name. For this table I want to create a temp-table which I want to use to create a dynamic updateable browse. When the user modifies a record, this record must be copied...
  5. S

    Get table properties of a given database

    Thanks Hakane, but my initial question was how to get table names of each database? with your procedure I know which databases there are but still not wchich tables are attached to it ... :o
  6. S

    Get table properties of a given database

    I tried already this: for each _db no-lock: display _db-name. end. I'm sure my procedure editor is connected with 4 different databases and this procedure gives me just 1 output with _db-name = ? ???
  7. S

    Get table properties of a given database

    Hi All, How can I get all fields of all databases? This procedure gives me properties of all connected "tables": FOR EACH _file NO-LOCK WHERE _file._hidden = NO: DISPLAY _file WITH 1 COL WIDTH 200. END. Can't I do something like this example: FOR EACH _Db, EACH _File NO-LOCK WHERE...
  8. S

    Common Dialog for Saving

    Thanks a lot Osborne for the quick respons. This is exactly what I need. Just 1 more question: - Which delimiter do I use to define more filters? example: SYSTEM-DIALOG GET-FILE l-file TITLE "Specify output file..." FILTERS "Text (*.txt)" "*.txt" | "Proc (*.p)" "*.p" ... SAVE-AS...
  9. S

    Common Dialog for Saving

    Hi there, Someone knows how to display a common dialog box to save a file? Following code can be used to open a file: def var l-file as char no-undo. system-dialog get-file l-file must-exist. message l-file. Is there also something for saving a file? Or should I use the Common Dialog OCX...
  10. S

    How to add RIGHT-MOUSE-CLICK event?

    Like I already said - "Simple, but you just need to know how" :awink: Thanks a lot Ruud!! Cheers
  11. S

    How to add RIGHT-MOUSE-CLICK event?

    Hi all, I have a TreeView Control 6.0 (SP6) on my window (.w). In the Common OCX Events I see OCX.DblClick , OCX.Click, ... but NO OCX.RightMouseClick ??? How can I apply this one to my OCX control? This should be simple but you have to know :blush: Thanks in advance!
  12. S

    How to add RIGHT-MOUSE-CLICK event?

    Hi all, I have a TreeView Control 6.0 (SP6) on my window (.w). In the Common OCX Events I see OCX.DblClick , OCX.Click, ... but NO OCX.RightMouseClick ??? How can I apply this one to my OCX control? This should be simple but you have to know :blush: Thanks in advance!
  13. S

    use Procedure Editor in a window

    Hi all, I'm creating a sort of framework where I can connect databases, loop through drives and directories, etc ... When I double-click a filename (.p) the content of the file loads into an Editor Widget at this moment. After pressing a button the procedure will run. Is it also possible to...
  14. S

    Send commands to unix server from client application

    Thanks a lot Cecil for the quick respons. I didn't know it would really be that simple :)! Cheers!
  15. S

    Send commands to unix server from client application

    Hi All, I don't know if it's possible but I'm trying to send some commands to a UNIX machine from a progress GUI client application (.w) running on my PC. Can this be realised in some way? There is a NetTerm software installed to make a telnet connection to the UNIX server. Maybe by loading...
  16. S

    UNIX SILENT VALUE(rlogin ...)

    Problem Solved! Just make sure the public key in the file "authorized_keys" on the remote machines = 1 rule. You can see this by opening the file with pico.
  17. S

    use CHECKED attribute on dynamic checkboxes

    Parul's solution is just what I need - it's that simple - like I was telling I felt I was making it too complicated because of that handle in the temp-table! Casper's solution worked also but he continued on my unnecessary complicated code. Cheerz! - Serge
  18. S

    use CHECKED attribute on dynamic checkboxes

    Hi all, I have a .w file where I dynamically create checkboxes. While creating them, I store them into a temp-table to check afterwards if they are checked or not! This is my code: DEF TEMP-TABLE ttWidgets FIELD ttId AS INT FIELD ttWidget AS HANDLE. DEF VAR cServers AS CHAR NO-UNDO INIT...
  19. S

    UNIX SILENT VALUE(rlogin ...)

    Thx for replies guys, but I'll keep it simple and thus try TomBascom's solution. I've generated a public key (ssh-keygen -t rsa1) on the local machine and copied it to the remote machine (~/.ssh/authorized_keys). Still when I want to ssh or scp to the remote machine, it is prompting for a...
  20. S

    import file contents into a dynamic temp-table

    Thx Ruud, Exactly what I need! Cheers!
Top