Recent content by MSilva

  1. M

    Same question again - Sorry

    Thanks a lot Mr.... Unfortunatelly you've not registered yourself, but your post was very important for us. The idea of using WC without ADM2 sounds good for us... At first time , we developed some standard 4GL codes (connection , disconnection, remote execution of programs, etc...)...
  2. M

    Sending Mail using a SMTP Socket

    That's OK... We haven't finished the tests yet, but it seems good.... Thanks a lot Chris!
  3. M

    How to close a window from a smart browser?

    Re: Cannot compile? Don't forget creating a new procedure called "Closemywindows"... Good luck.
  4. M

    Customize assignDBRow?

    That's OK, Now I'see what you want... Just remember (if it matters...) that if you have another transaction ocurring during all other ADM2 stages, you'll have 2 splitted transactions ocurring at different times. Anyway . Good Luck Mauricio Silva
  5. M

    Capturing connection errors!

    Hi, I'm not sure if I've understood your question...but anyway... If you're not using ADM2 you can ry to use NO-ERROR clause after RUNS and CONNECT... Example: CREATE SERVER hAppSrv. ret = hAppSrv:CONNECT(stringconec, c-user, /*...
  6. M

    Sending Mail using a SMTP Socket

    Hi Thanks Tranborg, but Chris Lawry have already sent to us a pretty good version of a mailsocket program (including ATTACH feature). If you want to see the code let me know... Mauricio Silva
  7. M

    Customize assignDBRow?

    Hi, The suggested way to do that is using ENDTRANSACTIONVALIDATE, but you can't return a message, returning a message means to ADM2 that your transaction MUST be UNDONE... Just do: RETURN . Suggested locations to override : SubmitRow pre/begin/end/postTransactionvalidate and...
  8. M

    message error "attempt to connect a partition named"

    Hi, Just my 1 cent.... Go to your objects "procedure settings" and look if the box "Appserver Aware" is checked and look at the "partition" combo-box on yours SDOs. Start ProTools and check if there is any partition created at "service parameter maintenance" button . If you're...
  9. M

    Same question again - Sorry

    Sorry for all. My questions about ADM2 e WC still without answers... Perhaps some of you can send your feelings.... What do you think about ADM2 and WC? We're finishing a "peacefull" project using ADM2 and WC (our first one), where our schedule had a big overflow... Some simple...
  10. M

    How to close a window from a smart browser?

    Hi Try using a publish statement coded in the button . Your button : publish "closemywindow". Your Window (main block): subscribe "closemywindow" anywhere. AND Procedure closemywindow: /*here you close your app*/ end.
  11. M

    New To Progress - need help

    trolls35, If you write to excell you can read from it... For example: . . . . . output to "c:\temp\txtfile1.txt" . put chWorkSheet:Range("A1"):Value skip chWorkSheet:Range("B1"):Value skip chWorkSheet:Range("C1"):Value skip. output close. Voila! You have a...
  12. M

    New To Progress - need help

    Hi, See a sample at directory src\samples\activex\excelgraphs named oleauto.p , this procedure has some basics.... Good luck Mauricio Silva
  13. M

    v9.1c - SDO & Query Updates

    If your db-required tick is true, your code won't be compile at the client side , the best approach is keep it false. About ADDQUERY ,SETQUERY, blabla... Have you tried to use SETQUERYWHERE in SDO and after that execute OPENQUERY? Just my 1 cent... Good Luck MSilva
  14. M

    Sending Mail using a SMTP Socket

    Hi all, We are using a progress program that sends mail using a SMTP Socket. It's fine, but know we have to attach a file on the message... Does anybody know a way to do this (using SMTP socket)?? The program was written based on a SMTP Protocol doc. and follows...
  15. M

    WebClient Environment: Was good for you?

    Again , that's a good question: Why are we using ADM2 ? Before using ADM2 and WC we first talked to Progress People asking if ADM2 was OK, they said "of course, many applications has been written for many companies , including Progress Corporation" our mistake was forget the second question...
Top