Recent content by jamesmc

  1. J

    Exporting from Outlook into Progress program

    Heres something I wrote in 2008. Maybe you can use it? DEFINE VARIABLE lvApplication AS COM-HANDLE NO-UNDO. DEFINE VARIABLE lvNameSpace AS COM-HANDLE NO-UNDO. DEFINE VARIABLE lvAddressList AS COM-HANDLE NO-UNDO. DEFINE VARIABLE lvCounter AS INTEGER NO-UNDO. DEFINE VARIABLE...
  2. J

    result of function

    I have no way of testing this but perhaps something like: RUN STORED-PROC send-sql-statement h1 = PROC-HANDLE NO-ERROR ("begin " + SQLProcedure + "(" + chaine + "); end;"). FOR EACH proc-text-buffer WHERE PROC-HANDLE = h1 NO-LOCK: DISPLAY proc-text-buffer. END. proc-text-buffer is an ABL...
  3. J

    Writing a .NET Plugin for MFG

    Hi, We are finally upgrading to the latest and greatest version of MFG, which means that we are looking at our current customisations and deciding if we need to keep them or retire them. There are some fairly heavy pieces of code that I dont see working at all well in the new .NET UI as ABL...
  4. J

    Yahoo! PlaceFinder

    Thanks for the advice. I think you joined in the thread over on the PEG as well with regards to using a PDS? It worked well BTW.
  5. J

    XCODE utility

    Just to mention the obvious... have you confirmed that the file you are trying to XCODE is present in the folder you are currently in and is spelt correctly and you are not missing any spaces in the name? Try a DIR and see if you can spot the file in the list.
  6. J

    Yahoo! PlaceFinder

    Hi, I am looking at perhaps using the Yahoo! PlaceFinder API but have not done anything like this in the ABL before so am at a loss on where to start. The documentation says "To access the PlaceFinder Web service, call HTTP GET on the base URI, specifying the input location with one or more...
  7. J

    HELP! PictureBox Control

    Hi readers, In pretty much any MS development suite you can use a control called PcitureBox. I really want to use this in Progress but I cant find it anywhere. Can anyone give any pointers as to where I can find it? TIA, James.
  8. J

    Bruce Force to Decode an Encoded Field

    shouldnt there be some code here?
  9. J

    displaying OS information

    what other sort of information are you after?
  10. J

    Printing Errors

    I know it may be a little late to do this, as its been working in 8.6e but have you checked the default paper type on the printer?
  11. J

    Forecast Summary CIM

    direct writing into any table within any QAD could invalidate any support or warranties that you have with QAD, even if you are only updating a single table (with no risk of not updating other tables). Having said that, if you dont have support or any warranties with QAD I would still say that...
  12. J

    Dynamic radio buttons and IE6

    Hi Jagard, The problem is that there is no NAME= in the radio element therefore the page can not pair the two radio buttons together! I have got your code working in IE6 by changing the part of the case statement that handles the logical output to: case "logical" : var oNewradio1 =...
  13. J

    How does progress handle this find first statement??

    who mentioned a for each? AFAIK the original question was only regarding a find statement.
  14. J

    Multiple Servers on one DB

    Hi Cecsno, We need a way to allow batch connections without allowing more users into the database, if we just increase -N then our users will just keep using multiple sessions until all of the available connections are taken and there are no spare again for our batch work. I know it would be...
  15. J

    Copying certain data from db to db

    Hi Stefan, Personally, I would connect to both databases (using different logical names, like a for database A and b for database B) and just do something like the following: for each a.table1 where {whatever criteria you want} NO-LOCK: create b.table1. buffer-copy a.table1 to...
Top