Search results

  1. jongpau

    Height and width of an image

    And like the example I posted to check the width you can also use .Net libraries to resize images, save them in a different file format etc etc. All you need to do is use your friend Google and your imagination :)
  2. jongpau

    Height and width of an image

    Provided you are on OE10 or higher and on Windows (you forgot to mention this) you can do something like this: USING System.Drawing.* FROM ASSEMBLY. DEFINE VARIABLE oImg AS Bitmap NO-UNDO. oImg = NEW Bitmap("<path to image file>"). MESSAGE "Size is" oImg:WIDTH "by" oImg:HEIGHT "pixels"...
  3. jongpau

    Storing Blank Spaces in a Character Variable

    Hi there, I just tried the below code and it works fine (returns only the last 2 of the temp-table records) --- using 32 bit OE 10.2B07 on Windows 7: DEF VAR spaceField AS CHAR NO-UNDO. DEF TEMP-TABLE tt NO-UNDO FIELD dataField AS CHARACTER FORMAT "x(20)" INDEX iDef IS PRIMARY UNIQUE...
  4. jongpau

    Popup Windows

    Totally agree, a dialog will do what is described and with zero fuss.
  5. jongpau

    AS Temp Files growing large

    Hi Manmohan, They are client side parameters and have no meaning when starting a db server. That's why - you don't see anything in the db log, they are ignored - your files didn't move to the directory set with -T as your client still puts them where it always has HTH Paul
  6. jongpau

    MS Tabstrip control in Appbuilder

    I am a bit confused but assume you mean the frame and fill-in are NOT visible? You have to create an event on tabstrip click and then hide all frames and view the one that should be shown with the selected tab. You may also have to call a move-to-top on the frame to put it on top of the control
  7. jongpau

    Question Does this code crash your openedge/progress session?

    In OE10 (10.2B06) it doesn't crash when you replace the dynamic reference to the CreditLimit field with a decimal variable. However, it does give a syntax error on your message (Unable to understand after bla bla bla). It looks like the problem is in doing the accumulate on the dynamic buffer...
  8. jongpau

    Handle

    A handle is a "pointer" to an object (UI object, temp-table, prodataset, server etc). I do not think there is much difference between a HANDLE and a WIDGET-HANDLE. You can safely use a HANDLE variable for a WIDGET type object. A COM-HANDLE however is a special type of handle that is used in...
  9. jongpau

    Answered Generating a QR Barcode

    Did you try the code in my post above? It uses the ThoughtWorks QR Code Library and some simple OpenEdge code
  10. jongpau

    Progress to SQL Data Push

    Depending on what tech the website and SQL db run on, your ability to add functionality to it and available time & budget you could consider to write a (secured) web service that you can call from within a Progress app. Progress v9 supports socket connections so you can connect to the web...
  11. jongpau

    Question Locks Limit ?

    RealHeavyDude and Tom are right in saying that it would help when you explain why you ask the question. Also telling us what version you are on is helpful. I was going to say something similar at the time but only had a few spare minutes so I decided to answer your questions instead. Don't...
  12. jongpau

    Question Locks Limit ?

    Maximum number of locks: is determined by the lock table parameter on the server - this is not per procedure Maximum number of buffers: if there is one, i have never reached it Maximum number of streams: up to 50 (in OE 10)
  13. jongpau

    How to Convert Progress Files from Progress 10 to 9?

    Yes they do indeed, the compiler can be such helpful thing
  14. jongpau

    How to Convert Progress Files from Progress 10 to 9?

    .... and remove / rework any and OE 10 features you may have used in your code Only reason I could think of is maintenance has not been paid so it'll cost $$ to get OE10/11. Well, that and "its to hard and too costly to upgrade right now and we MUST have this application" (note: I am not a...
  15. jongpau

    Progress on a Tablet?

    OE runs perfectly fine on a windows 8 tablet (not win 8 RT of course). Just a thought :)
  16. jongpau

    Answered Generating a QR Barcode

    I did it in OE 10 with the "ThoughtWorks QR Code Library". The code is very simple really (you need at least OE 10 because of the use of .Net): USING ThoughtWorks.QRCode.Codec.*. USING System.Drawing.*. DEFINE VARIABLE oEncoder AS ThoughtWorks.QRCode.Codec.QRCodeEncoder NO-UNDO. DEFINE VARIABLE...
  17. jongpau

    Passing temp-table as parameter and receiving updated fields

    It would be better if you would create a new topic for this at it is a different question, but anyway. It should be pretty much the same as it is in a procedure: class abc: method public logical testBuffer(buffer <buffername> for <tablename>): return available <buffername>. end...
  18. jongpau

    Incremental df for tables

    Why would you want to do that?
  19. jongpau

    Question Wildcard search

    Or use INPUT FROM OS-DIR, read the files the usual way and filter them as required. It becomes a bit more fun when you want to do a (recursive) search through a directory tree but it is certainly not impossible. At least you circumvent having to deal with various types and flavors of operating...
  20. jongpau

    Question IF CAN-FIND() THEN FIND...

    Hmm I tried to find the KB related to it this morning but was unable to. I think the "solution" that Progress gave was "don't do it, we cannot guarantee that it works"
Back
Top