Search results

  1. jongpau

    treeview and imagelist

    Try this to set the imagelist (you'll need to use the correct names of the com-handle variables as specified in your program). PROCEDURE initialize-controls: ASSIGN chTreeView = chTreeView:CONTROLS:ITEM(1) chImageList = chImageList:CONTROLS:ITEM(1) chTreeView:ImageList...
  2. jongpau

    ini file

    The below should get you on your way. All the literal strings can be replaced with a character variable or field. define variable vcCharacter as character no-undo. /* To load the ini */ load "<ini file name without the .ini>" DIR "<directory>" new BASE-KEY "ini" no-error. /* To use the ini...
  3. jongpau

    Start and connect

    Start a database server with a TCP connection (use Progress Explorer) on the other machine in the pf file you use to start your progress client: -db <dbname> -NHS TCP <your computer name or IP Address> <port number set up in Progress Explorer on your machine> or in a program that is run on...
  4. jongpau

    Appserver

    Manuals can be found here: http://communities.progress.com/pcom/docs/DOC-15972 and example code (belonging to the manuals): http://communities.progress.com/pcom/docs/DOC-16420 does not hurt to trawl through the books a bit :)
  5. jongpau

    ADM Programming

    On the Progress website, where else? Follow this link: http://communities.progress.com/pcom/docs/DOC-15972 Go to the "Development Tools" section, there should be at least 2 books about ADM there :rolleyes:
  6. jongpau

    New to Progress Db

    Hi opowell, Go to http://communities.progress.com/pcom/docs/DOC-15972 All Progress (or OpenEdge as it is called nowadays) documentation is available there - for the current version. Find the section on Data Management and you should have everything you want at your fingertips. By the way...
  7. jongpau

    how to delete a dynamic togglebox? please help me...

    Try something like this: do ctr = 1 to total_tb: if valid-handle(t1[ctr]) then delete object t1[ctr]. end.
  8. jongpau

    Appserver -- disconnect method

    You cannot disconnect the session system handle. The session system handle can be used instead of an appserver handle so that you can run your appserver aware application when not actually having appservers (so when your client is connected to the database). I suggest you do something like this...
  9. jongpau

    Appserver -- disconnect method

    are you sure you are trying to disconnect an AppServer and are not doing the disconnect on a variable that holds the session system handle instead of a "real" AppServer? It may also help if you include some code that shows what you are doing.... Paul
  10. jongpau

    OpenEdge Compiler

    If you are referring to the one that's on your OpenEdge Menu (Tools > Application Compiler) it is simply written in Progress....
  11. jongpau

    browser property issue.

    I just tried this in a little test program, but doing an apply "entry" to another enabled widget and then setting read only of the browse works for me...
  12. jongpau

    run time error loading active X Controls

    What's the error you are getting?? Without knowing the nature of the run time error: The tab strip is part of mscomctl.ocx. You may want to see if this file is available in your windows installation and if so, whether it is registered (just register it again with regsvr32, there should be a...
  13. jongpau

    calculate the last day of the month

    I do this... simple and it works: FUNCTION lastDay RETURNS DATE (INPUT dDate AS DATE): IF dDate EQ ? THEN RETURN ?. IF month(dDate) = 12 THEN RETURN DATE(12,31,YEAR(dDate)). RETURN DATE(MONTH(dDate) + 1,1,YEAR(dDate)) - 1. END FUNCTION. MESSAGE lastDay(date(01,01,2008)).Paul
  14. jongpau

    Exchange Online 2009

    I spoke with someone from Progress Oz the other day and it *seems* that the event(s) in Oz are still on -- there was some mention that they may have to change the format somewhat because they get a lot of their content out of the USA. Anyway, wait and see :)
  15. jongpau

    Unable to find or open .lk file.

    Do you have read/write permission on the folders that hold the database files? How are you trying to "initialize" the db (what are you wanting to do and what commands do you use). Oh, and what Progress/OpenEdge version are you using?
  16. jongpau

    Exchange Online 2009

    I agree, even though I would not be going to an Exchange event in the USA myself - I do like (going to) the ones organised here in Australia. I would personally be very disappointed if Progress were to decide not to have en Exchange event in Oz this year - I have not heard anything about...
  17. jongpau

    How do I connect Progress database

    Yes, Tamhas is right; you can indeed have .Net clients connect and interact with AppServers. Easiest (I think) is to upgrade to v10, which can create "more native" .Net proxies that you can use in your .Net app to "talk to" an AppServer. Bonus of using the AppServer solution is that you should...
  18. jongpau

    Nested XML

    If you have version 10 you can create a ProDataset and load it straight into the temp-tables (provided the structure of the file is decent) :)
  19. jongpau

    Change sequence of Triggers

    Logic says that you leave the field before you click the button. But, I reckon you can get around your little problem like this: ON LEAVE OF xcustomer DO: IF LAST-EVENT:WIDGET-ENTER:NAME NE "btn-exit":U THEN DO: ASSIGN xcustomer. message "on leave from xcustomer "...
  20. jongpau

    How do I connect Progress database

    That depends on the database services running on the other machine. Without knowing more it is hard to say. You *could possibly* connect to it through ODBC or by installing a Progress client on your machine. Either way, you'd need to know the connection parameters, userid and password etc before...
Back
Top