Search:

Type: Posts; User: Frank Cheng

Page 1 of 52 1 2 3 4

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

  1. Re: info_box and Stop_box centered on application ?

    Yes, but it is not simple since MS Windows controls the location of the message boxes, not the DF program.
    Here's an article published 14 years ago.
    ...
  2. Replies
    17
    Views
    614

    Re: How to detect UI or not ?

    Here is why

    https://docs.dataaccess.com/dataflexhelp/#t=mergedProjects%2FVDFClassRef%2FAppPanel-Property-Auto_Activate_State.htm

    Simply defining a DF UI object would not cause it to run unless...
  3. Replies
    17
    Views
    614

    Re: How to detect UI or not ?

    Send Info_Box (If(Focus(Desktop) = Desktop, "No Window", "Window"))


    Frank Cheng
  4. Replies
    17
    Views
    614

    Re: How to detect UI or not ?

    Plenty of unofficial ways to do that, but I will let the good folks at DAW to give you an official and built-in way.

    Frank Cheng
  5. Replies
    17
    Views
    614

    Re: How to detect UI or not ?

    That's a really loaded question. If the entire program only has the lines


    Use Windows
    Send Info_Box "ASDF"


    Would you consider that program has an UI? Not DF UI per se, but UI nontheless.
  6. Re: Get Create U_cJSONParser to not working in DF23 webapp

    You were using this library in DF19. I doubt it is DF 23 compatible though

    https://github.com/svan-jansson/VdfWebTools

    Frank Cheng
  7. Replies
    7
    Views
    257

    Re: Microsoft Entra ID

    Here is a fun function you can use instead of creating your own UI. You still have to call LogonUserW at the end though.
    ...
  8. Replies
    7
    Views
    257

    Re: Microsoft Entra ID

    btw, what calls did you make to AD to allow users to enter their AD password?

    I think Entra ID is just for Azure AD for you to access Azure resources. Your calls to local AD should be unaffected?!...
  9. Replies
    3
    Views
    146

    Re: Questions by converting to SQL Server

    I don't mean to sound brash, but you probably need some consulting from DAW or Mertech or team members in this forum.
    Even if we answer every question in this post, you will have a lot more coming...
  10. Re: DLL Return of String - how do I free memory.

    I guess you got that code from copilot, because I got very similar code from co-pilot as well.



    // Import the necessary crates
    extern crate libc;
    use libc::c_char;
    use std::ffi::{CStr,...
  11. Re: DLL Return of String - how do I free memory.

    In C/C++, it's pretty easy. You usually just export another function for freeing memory. I know that both Rust and C++ don't have garbage collection, and it's easy to hand out memory in C++. I know...
  12. Replies
    2
    Views
    102

    Re: LibXL case sensitive

    I highly doubt this is the case (no pun intended). File paths/names are case insensitive on Windows platforms. At the end of the day LibXL has to call Windows API to open any file. The case...
  13. Replies
    5
    Views
    213

    Re: Printing Extended ASCII in a report

    Try Character(7) instead of Character(149)

    For OEM codepage 437 (which is the default OEM codepage US Windows systems), 149 = ò. DF still uses OEM in v19
    For ANSI codepage 1252 (which is the...
  14. Replies
    8
    Views
    276

    Re: Import from Hell

    Hit the button "Go Advanced", then the toolbar will contain the "attach file" toolbar button.

    16720

    Frank Cheng
  15. Replies
    8
    Views
    276

    Re: Import from Hell

    I asked CoPilot - Give me an example in C# on using SQLBulkCopy to insert records from a CSV file to SQL Server



    using System;
    using System.Data;
    using System.Data.SqlClient;
    using...
  16. Replies
    8
    Views
    276

    Re: Import from Hell

    If they have Excel installed, you can convert an .xlsx to .csv using Excel programatically.

    Also, if you wanna use bulk copy (without copying the .csv to the computer that hosts the sql server),...
  17. Thread: Disd 2024

    by Frank Cheng
    Replies
    12
    Views
    1,476

    Sticky: Re: Disd 2024

    I gotta say, that "Technology of the Stack Project" sounds very mysterious and intriguing ...

    Frank Cheng
  18. Replies
    9
    Views
    388

    Re: Formatting XML

    You can use XSLT to format your XML.

    Look up XSLTransformationToAddress

    Frank Cheng
  19. Replies
    11
    Views
    565

    Re: 2024 RC2: Unable to Sign Exes

    instead of <application> <workspace> <project>
    do this "<application>" "<workspace>" "<project>"

    Frank Cheng
  20. Re: Login command to MS-SQL: "SSL Provider: The certificate chain..."

    Hi Nils,

    I then proceeded to uninstall ODBC v18 (v17 is still on my machine), both DF 23 & 24 now work fine again. Hopefully the future version of MSSQLDRV would work with the latest version of...
  21. Re: Login command to MS-SQL: "SSL Provider: The certificate chain..."

    So here is the kicker - I have 23 and 24 on my machine. I did a simple Login command to connect to SQL 2022, everything was fine with both DF versions.
    AND I was using MS ODBC v17 driver.

    Then I...
  22. Re: Login command to MS-SQL: "SSL Provider: The certificate chain..."

    Hi Nils,

    One funny check you could do (this is to rule out SQL Server being too TOO strict) is to download the Flex2SQL from Mertech (I think it's a 30day free trial) and compile a small DF app to...
  23. Re: Login command to MS-SQL: "SSL Provider: The certificate chain..."

    Just curious if installing the latest ODBC driver from MS would help. We use Mertech drivers (and login command) to connect to SQL up to 2022 just fine. Although Mertech uses OLEDB instead of ODBC......
  24. Replies
    12
    Views
    695

    Re: DataFlex 2024 RC

    Got the codes. Thanks.

    Frank Cheng
  25. Replies
    12
    Views
    695

    Re: DataFlex 2024 RC

    Boss man said no codes...

    Frank Cheng
Results 1 to 25 of 1291
Page 1 of 52 1 2 3 4