Search:

Type: Posts; User: WWGT

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: How to download n Excel file, and have it open in excel.

    Good catch, I keep forgetting Flextron exists :confused:
  2. Re: How to download n Excel file, and have it open in excel.

    Pretty sure you can't.
  3. Re: Enabling a web application through the registry requires Restart.

    Thank you Harm!
  4. Replies
    20
    Views
    757

    Re: cWebTimer Placement

    What would be some use cases for OnIdle?
    I still don't agree that such a function should be used to run anything DB or IO related. That is not a task for a webapp itself (you wouldn't really do this...
  5. Replies
    20
    Views
    757

    Re: cWebTimer Placement

    Yeah running a timer in webapp itself is not the way to go.
    We have a background exe scheduled to run at X interval.

    Imagine having process pooling set to 10 and all 10 exe's executing your timer...
  6. Replies
    6
    Views
    351

    Re: Print .pdf from Webapp

    We just open the report, call ExportReport with the format we want and then close the report. There's nothing more to it.



    Send ExportReport of hoReport C_drPDF sOutFilePath
  7. Re: Enabling a web application through the registry requires Restart.

    Oof, not good. Since we have some automations that use this :D
  8. Thread: OnFileUpload

    by WWGT
    Replies
    6
    Views
    471

    Re: OnFileUpload

    You should not use RegisterUploadFolder/RegisterDownloadFolder inside OnFileUpload. Place it in the End_Construct.
    See the docs :)
  9. Replies
    2
    Views
    445

    Re: DataDictionary contamination

    Any DD that is not part of the Main_DD tree needs to be manually added with AddDDOStructure.
    If you do not do this and have "loose" DD's in your view you can get unsynced data.

    Please read the...
  10. Replies
    8
    Views
    548

    Re: cWebMenuItemLoadView/cWebMenuItem-onclick

    If you use ServerSession properties they only get cleared when you close the browser itself. If you just close one tab it will still have the values when you reopen it.
    That is the entire point of...
  11. Replies
    6
    Views
    705

    Re: Get MemberValue to UCHAR?

    For 19.1 there is no obvious solution other then setting a very high argumentsize before getting the MemberValue and then reducing it again.
    No problems in DF23 tho.
  12. Replies
    6
    Views
    1,801

    Re: OnViewSaved + ShowInfoBallon

    We use jquery-growl: https://ksylvest.github.io/jquery-growl/
  13. Re: Server has been replaced. Cannot connect with Chilkat

    Is all the needed software and configs installed on the new server? What ftp server do you use?
  14. Re: How do I pass NUL values into Stored Procedures?

    Even if we can't have NULL's native in DF yet, there should be some constant like SQL_NULL we could use for this usecase.
  15. Replies
    8
    Views
    644

    Re: DataFlex 19.1, more details from callstack

    Have fun adding a log line after every line of code you have in your request_save :cool:
  16. Replies
    25
    Views
    2,300

    Re: Sessions and ServerProps

    You might be right that they have something to do with dynamic objects.
    In 19.1 and not using dynamic objects we never have such records as far as I can see.
  17. Replies
    25
    Views
    2,300

    Re: Sessions and ServerProps

    We simply delete webappserverprops which have expired on a daily basis. You can easily check this by looking at the ExpiresDate column.
    Don't forget to account for props with multiple pages.
  18. Replies
    5
    Views
    517

    Re: ShowYesNo -successive questions

    Edgar,

    You MUST use webproperties for this!
  19. Re: Equivalent of OnBeforeShow in a webview, but when closing it

    Depending on what you want to do it might not be enough. The user can still close his browser, refresh, shutdown...
    Just keep in mind that whatever code you put there will not always be executed.
  20. Thread: suggestions ?

    by WWGT
    Replies
    5
    Views
    876

    Re: suggestions ?

    I do not know how it is in your country but in some countries some ISP's block all ports under 1024 if you have a personal internet connection.
  21. Replies
    5
    Views
    943

    Re: Diskfree command not working.

    Been a while now since the average disk size fitted inside an int.. :p
  22. Replies
    3
    Views
    622

    Re: Image File Uploads

    The image resizing is not something that happens on the DF side (neither server nor client) AFAIK.

    Here is a similar stackoverflow post:...
  23. Replies
    21
    Views
    1,968

    Re: Why does this not work?

    That doesn't work since you'd have to pass in the type through a parameter, which is the exact problem described here.
    At least not for deserializing.
  24. Replies
    21
    Views
    1,968

    Re: Why does this not work?

    We wanted one liners for serializing/deserializing json <-> struct, so kinda forced to use a macro.
  25. Replies
    21
    Views
    1,968

    Re: Why does this not work?

    Thing is you can't do it to a variant. We tried that as well but it expects an explicit type.
    I'm betting the same goes for the new cSQLExecutor in DF23.

    So wrapping the cJsonObject class in a...
Results 1 to 25 of 245
Page 1 of 10 1 2 3 4