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...
Type: Posts; User: IJmert
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...
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
...
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...
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...
I Guess it should be this:
Struct tResponse //lines in the response email
String failure_copy
String para
End_Struct
Struct tWebPayPage
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 ""...
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...
Function DateTimeToString Global DateTime dtInput String Param_sFormat Returns String
String sDag sMaand sJaar sUur sMinuut sSeconde sMilliSeconde sFormat
Move (DateGetYear (dtInput)) to...
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...
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:
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...
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...
Samuel, thanks for the alternative. :)
Regards, IJmert.
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.
+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...
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....
This is a dirty fix but works.
Procedure Prompt
Handle hoSelectFile
String sFile
Boolean bOk
String sSkin sSkinIni
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...
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...
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...
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.
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...
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))...
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...
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...