Search:

Type: Posts; User: IJmert

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    26
    Views
    4,290

    Re: Create text file in UTF8 with BOM

    I have a procedure to remove a BOM from a file. Same logic can be used to put a BOM into a file.



    Procedure RemoveBOM Global String sFile Boolean param_bConvertUTF16
    UChar[] uInput uOutput...
  2. Re: New linker 2023 and very large binary resource

    This is the way we include resources. The very last lines of the .src file:




    Include_Resource Ver10_10_2-10_11_1-PmPrak.sql as Ver10_10_2-10_11_1-PmPrak.sql type DF_RESOURCE_TYPE_LINE
    ...
  3. New linker 2023 and very large binary resource

    Our update executables are DataFlex programs with a very large binary resource, the update.zip. Large is about 350MB. We use this mechanism for many years now, it makes updating very easy. We only...
  4. Re: Enabling a web application through the registry requires Restart.

    I tested it with the latest RC2 and with the weborder sample it worked. We stop webapps during updates via registry settings. The update is always also a DataFlex app, so WasApi was no solution for...
  5. Replies
    15
    Views
    732

    Re: re-building JSON

    I Guess it should be this:


    Struct tResponse //lines in the response email
    String failure_copy
    String para
    End_Struct


    Struct tWebPayPage
  6. BUGs reported in DF2023 that hopefully get solved.

    I would appreciate that this bugs in DF2023 are solved in DF2024:

    Openfile dialog crash with skin Windows 10 (dataaccess.com)


    New SQL Executor NULL is always 0 or "0" and should be ""...
  7. New SQL Executor NULL is always 0 or "0" and should be ""

    The new Sql Executor gives "0" as a result when the actual result is NULL.

    I know that DataFlex cannot handle NULL but when the result comes in a string array I would expect an empty string and...
  8. Replies
    6
    Views
    841

    Re: Not what I was expecting

    Function DateTimeToString Global DateTime dtInput String Param_sFormat Returns String
    String sDag sMaand sJaar sUur sMinuut sSeconde sMilliSeconde sFormat
    Move (DateGetYear (dtInput)) to...
  9. SqlExecutor regional settings date and datetime format.

    The new Sql Executor class (DF 2023) formats dates and datetimes according to regional settings, which is very nice.
    A Date or DateTime value in a string array result can easely be moved to a date...
  10. Direct_input clipboard crashes when clipboard is empty

    Don't know if it's new for DF2023 but does not happen in DF19.1



    Direct_Input "Clipboard:"
    If (not (SeqEof)) Readln sValue
    Close_Input


    Complete reproduction:
  11. Replies
    18
    Views
    2,191

    Re: DF19.1 to DF2023 64-bit Unicode

    Samuel, we use our own connection manager for about 13 years now. These settings are done just after the connections are set. Since DF2023 we use the new DataFlex connection manager, but still use...
  12. Replies
    18
    Views
    2,191

    Re: DF19.1 to DF2023 64-bit Unicode

    Get_Attribute DF_DRIVER_USE_CACHE of iDriver to bUseCache
    // Indien met CCH bestanden wordt gewerkt, dan voor DataFlex 2022 (20.1) een andere map gebruiken!
    // Om conflicten tussen CCH versies te...
  13. Replies
    5
    Views
    943

    Re: Diskfree command not working.

    Samuel, thanks for the alternative. :)

    Regards, IJmert.
  14. Replies
    5
    Views
    943

    Diskfree command not working.

    The command diskfree always returns the value 2147483647.

    2147483647 is the maximum value of an 32 bit integer.

    Does not seem to work.

    Regards, IJmert van Gorsel.
  15. Replies
    12
    Views
    1,346

    Re: repeatedly moving DF19.1 dev folders to DF2023

    +1

    I suggested to have the manifest files in a different folder dan the source folder. We create manifest files ourselfes, and have many many entries in it. Full CodeJock, chilkat, Dataflex...
  16. Replies
    6
    Views
    1,065

    Re: Openfile dialog crash with skin Windows 10

    This morning I tested on a very old laptop at home.
    Windows 10 hasn,t been powered on for a month or so on this laptop. Same results.

    The very very first time the 32 bit version doesn,t crash....
  17. Replies
    6
    Views
    1,065

    Re: Openfile dialog crash with skin Windows 10

    This is a dirty fix but works.



    Procedure Prompt
    Handle hoSelectFile
    String sFile
    Boolean bOk

    String sSkin sSkinIni
  18. Replies
    6
    Views
    1,065

    Openfile dialog crash with skin Windows 10

    We have an application crash without any error not even the windows event log.

    Reproduceable.

    Create a new application with an applied skin.
    Create a view with an form that uses the...
  19. SQL Executor does not return UniqueIdentifier in string

    MSSQL table with an unique identifier as Id defined in the database as unique identifier. When queried with the new Sql executor,



    Select [id] from [table]


    and the result set comes into...
  20. Replies
    15
    Views
    1,982

    Re: Calculation different behaviour since 23.0

    Better this one......



    Function Tmp_Round Global Number nGetal Returns Integer
    If (nGetal = 0) Function_Return 0
    If (nGetal > 0) Function_Return (Integer (nGetal + 0.5))
    Else...
  21. Replies
    6
    Views
    1,012

    Re: DAW Please Read. This warrants a patch!

    It looks like it's in the expression evaluator in de runtime.

    This code has the same error:



    Move (Eval ( (Round(6)/7.0)) ) to nResultD


    Regards, IJmert.
  22. Replies
    15
    Views
    1,982

    Re: Calculation different behaviour since 23.0

    Integer / number goes well. It's just when the inbetween result is an integer. So here's ((Round (nWaarde * iDeelgetal))) an inbetween result, and it results in an integer.

    Sorry that the code is...
  23. Replies
    15
    Views
    1,982

    Re: Calculation different behaviour since 23.0

    Integer divided by number always returns a number in the old code.
    if you read the code the outcome of ((Round (nWaarde * iDeelgetal))) is an integer and that is devided by (Number (iDeelgetal))...
  24. Replies
    15
    Views
    1,982

    Calculation different behaviour since 23.0

    Can someone explain why this function does result in an integer value, while a number value is expected. This is new to 23.0 (i did the test under 19.1, 20.1 and 23.0).

    This function is intended...
  25. Replies
    5
    Views
    1,036

    Re: DateTimeToString

    Peter, we don't use move (Date("01/01/1753")) to dtestDate anymore. Then you trust on local date settings. Better use the dateset command.

    Move (datesett(1753,1,1)) to dTestDate.

    Works always...
Results 1 to 25 of 184
Page 1 of 8 1 2 3 4