Search:

Type: Posts; User: WWGT

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    958

    Re: Timer event without object! error

    Michael,

    Looking at how 2020 is going.. I wouldn't be suprised.
  2. Replies
    12
    Views
    958

    Re: Timer event without object! error

    You really shouldn't use DfTimers in webapps..
  3. Thread: cWebGrid layout

    by WWGT
    Replies
    8
    Views
    179

    Re: cWebGrid layout

    Okay thanks Harm, no idea this was even possible. Never seen it mentioned in the help as far as I can remember.
  4. Thread: cWebGrid layout

    by WWGT
    Replies
    8
    Views
    179

    Re: cWebGrid layout

    As far as I know, when entering a new row of columns you're always restricted to the width of the columns in the first row. Only piListColSpan is usefull then.
  5. Replies
    8
    Views
    252

    Re: HOWTO: Schedule Webapp Stop and Start ?

    We use a C# program running as a task to do something like this, works fine.
  6. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    Okay, I did really not realize DF_FIELD_LENGTH was in bytes. So going to UTF-8 might just cut the amount of characters you can enter in your forms in half, will be interesting to see the...
  7. Replies
    3
    Views
    182

    Re: How to trap key entries in a cWebForm?

    If you want a specific key, use the AddKeyHandler procedure.
    If you want to check each character entered.. no.
  8. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    What? For VARCHAR & NVARCHAR what you see on the column is the length, not the actual storage size. So what you're saying doesn't make sense.
    I highly doubt DF_FIELD_LENGTH is suddenly in bytes...
  9. Replies
    3
    Views
    140

    Re: Error handling question in webapp.exe.

    And yes, it is auto logged to the windows event log.
  10. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    So I was thinking about DF 2020.
    Being UTF-8 a character can be 1 or 2 bytes, does that mean the RAM usage for the tables will be double? Or atleast a good amount larger?

    Yeah that could prevent...
  11. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    I'm not disagreeing at all, you have no idea how suprised I was when I started here that we have stuff with +1000 tables.. :confused::cool: Worst part is, most of those are actually quite clever, we...
  12. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    Still cheaper then modifying our giant codebase..

    Kinda besides the point though, an open table still consumes a lot of memory. That's not entirely the programmer's fault :rolleyes:
  13. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    If time was free, then sure we could do it :cool: But in reality that's never going to happen. The webapp works ;)
  14. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    That's not a bad idea, but impossible to apply to a very large existing codebase..
  15. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    Samuel,

    Thanks, that explains my findings. We have a lot of TEXT fields, which is expected looking at the amount of tables we have. And some are +250 columns...
    I can clearly demonstrate the...
  16. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    Focus,

    Even though I'm using the Mertech driver, you can clearly see the memory consumption exploding while simply doing the open's themselves. No finds are done yet.

    Using this loop inside the...
  17. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    Can't really make a reproducible webordermobile sample workspace for something like this.. :cool:

    Coincidentally I've made a new webapp that's based on the same database structure and with nothing...
  18. Thread: WebApp size

    by WWGT
    Replies
    50
    Views
    1,537

    Re: WebApp size

    We're having exactly the same results (+1000 tables..). Our webapp process started without doing much consumes around ~300MB and can grow to 380MB after good usage.
    The opening of the tables is what...
  19. Internal expression error STACK: nested Pos()

    So we had some new code that contains a nested Pos().
    13632

    Turns out if the string (sDesc) is empty this gives an internal expression error.

    It works if you split the 2 Pos() into their own...
  20. Re: When to use the WebProperty Server / ServerSession

    The moment the user reloads your page the Server property value is gone. If you want it to last their entire session (and survive refreshes), use ServerSession.
  21. Replies
    3
    Views
    142

    Re: Get calling IP address

    Get ServerVariable of ghoWebServiceDispatcher "REMOTE_ADDR" to sIP
  22. Replies
    9
    Views
    306

    Re: FIND GE gives me a stranage behaviour

    You really shouldn't be doing such things while retrieving data through SQL (cursors..). By default the SQL commands work on the same "connection" as the Dataflex side.
    Save your data in an array...
  23. Re: Server WebProperties strings with special encoding

    Alberto,

    We're using Mertech aswell. Maybe this won't be a problem anymore in DF 2020? :)

    Harm: Kinda OT but I just noticed that in cWebServerPropStore there is a loop with a Sleep 1 where the...
  24. Re: Server WebProperties strings with special encoding

    +1,

    We've had to overwrite a server property somewhere in the framework to be a client property because of this. I don't think it's really an ANSI problem though, as even the character '' can...
  25. Thread: Print Duplex.

    by WWGT
    Replies
    7
    Views
    903

    Re: Print Duplex.

    It's possible when overwriting the DRPrinterDevMode function in the cPrintDialog class.
    Ugly and I'd rather not do it, but.. it works.
Results 1 to 25 of 90
Page 1 of 4 1 2 3 4