Search:

Type: Posts; User: Mike Peat

Page 1 of 48 1 2 3 4

Search: Search took 0.02 seconds; generated 26 minute(s) ago.

  1. Replies
    2
    Views
    71

    Re: Printing and Downloading files

    Thanks Alberto, but I knew about those - and registering the folders.

    I have a nasty bodge working for printing: I open a new window (JavaScript Window.open()) with the appropriate URL (from that...
  2. Thread: Null- json

    by Mike Peat
    Replies
    11
    Views
    181

    Re: Null- json

    Edgar

    Well, if you are stuck with 19.0, at least do this:



    Read_Block channel iChn ucaData -1 // No limit on the size of this (except computer memory)

    //...
  3. Thread: Null- json

    by Mike Peat
    Replies
    11
    Views
    181

    Re: Null- json

    Edgar

    If you are in DF 19.1, how about this instead:


    // The file "MyData.json" - yours will be more complicated, but just for the test:
    {
    "object": "Stuff in 'object'",
    "address":...
  4. Replies
    2
    Views
    71

    Printing and Downloading files

    What is the best/recommended way, from a web app, of programatically:

    printing a file to a local printer?
    downloading a file to a local drive?


    Although I say "programatically", there will...
  5. Thread: Null- json

    by Mike Peat
    Replies
    11
    Views
    181

    Re: Null- json

    Wil

    Harm's code allows you to chose what to remove - empty strings and/or zero numbers and/or null values:


    Procedure RemoveEmptyMembers Handle hoJsonObj Boolean bEmptyString Boolean...
  6. Thread: Null- json

    by Mike Peat
    Replies
    11
    Views
    181

    Re: Null- json

    Edgar

    Two options:

    Pre-Process the JSON object (after loading the data, but before moving to a struct) to remove any nulls (somewhere here Harm posted code to do it with a recursive function)...
  7. Replies
    5
    Views
    163

    Re: Rounding functions?

    Guy

    Look in the help: https://docs.dataaccess.com/dataflexhelp/#t=mergedProjects%2FLanguageReference%2FMath_Functions.htm&rhsearch=round&rhsyns=%20. Round: yes; Trunc: no (but not very hard to...
  8. Re: Recommended application pool set up for DataFlex web apps

    Thanks Harm - that was what I had guessed.

    Mike
  9. Replies
    14
    Views
    277

    Re: Radio labels disappearing

    The old fella gets confused sometimes... it's an endearing quirk, not an actual bug. ;)

    Mike
  10. Recommended application pool set up for DataFlex web apps

    Does anyone have a recommendation as to how Application Pools should best be set up for DataFlex Web Apps?

    .NET CLR version:

    .NET CLR Version v4.0.30319
    .NET CLR Version v2.0.50727
    No...
  11. Replies
    14
    Views
    277

    Re: Radio labels disappearing

    Sture

    { WebProperty=Client }? You sure? This is Windows code.

    Mike
  12. Replies
    3
    Views
    191

    Re: Installing DataFlex Reports 7.0.1

    Vincent

    Worked OK installing 19.1 on Win7 for me.

    Mike
  13. Thread: Web SpinForm

    by Mike Peat
    Replies
    3
    Views
    154

    Re: Web SpinForm

    Hmm... kinda see what you mean by "probably to simplistic for real world usage" - not quite ready for prime-time... but it is a place to start! :)

    Thanks again.

    Mike
  14. Re: ClientWebServices: Support for understanding MTOM server-responses (feature request)

    Patrick

    I have dealt with doing this kind of thing (for appropriate values of "kind of thing" <g> - it was ebXML, which uses the long-abandoned SOAP-with-attachments - SwA - approach, which is...
  15. Thread: Web SpinForm

    by Mike Peat
    Replies
    3
    Views
    154

    Re: Web SpinForm

    Thanks Harm

    Mike
  16. Replies
    3
    Views
    491

    Re: Google is restricting its APIs

    Yup. :(

    This is most probably a response to things like the Cambridge Analytica abuses using Facebook data and the general GDPR kerfuffle, however a less charitable take might see it as something...
  17. Replies
    2
    Views
    125

    Re: Sending files to WebApp

    ...something besides a String: UChar[].

    But it might be a server-side issue: Check out things like Maximum Requesting Entity Body Limit: 200000 bytes by default.

    Mike
  18. Replies
    45
    Views
    1,546

    Re: Export to PDF issue

    See https://www.dataflex.wiki/index.php/RESTful_Service_Theory#PUT

    (Sorry, just couldn't help myself! ;))

    Mike
  19. Thread: Web SpinForm

    by Mike Peat
    Replies
    3
    Views
    154

    Web SpinForm

    Hi

    Does anybody have a cWebSpinForm class I can steal?

    Also, a cWebSplitButton would be nice.

    Mike
  20. Replies
    16
    Views
    553

    Re: Language Request : Multiline strings.

    Didn't know that! I don't use the DF Studio to edit SQL files, or I would have realised (I generally either edit them in the SQL Studio, or Notepad++).

    Would be cool if they would do it for code...
  21. Replies
    15
    Views
    420

    Re: WebApp designer not working

    However, the following appeared in the project Output:
    13074

    Mike
  22. Replies
    15
    Views
    420

    Re: WebApp designer not working

    Stephen

    Good thought - it works OK with WebOrder, although I got the following when exiting (permissions, presumably):
    13073

    Returning to the project Studio instance, and creating yet another...
  23. Replies
    15
    Views
    420

    Re: WebApp designer not working

    Addendum: but next time I added a new modal dialog, I had to reboot the b*****d again to get the WebApp Designer to show it. I really don't know what is going on with that! :p

    Mike
  24. Replies
    2
    Views
    162

    Re: mySQL driver options

    Jim

    I have been playing around with the DAW ODBC driver to access a MySQL compatible Amazon RDS Aurora database and found that if the database is in the same Amazon data centre as the application...
  25. Thread: Json File

    by Mike Peat
    Replies
    10
    Views
    350

    Re: Json File

    ???
Results 1 to 25 of 1192
Page 1 of 48 1 2 3 4