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.
...
Type: Posts; User: Frank Cheng
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.
...
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...
Send Info_Box (If(Focus(Desktop) = Desktop, "No Window", "Window"))
Frank Cheng
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
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.
You were using this library in DF19. I doubt it is DF 23 compatible though
https://github.com/svan-jansson/VdfWebTools
Frank Cheng
Here is a fun function you can use instead of creating your own UI. You still have to call LogonUserW at the end though.
...
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?!...
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...
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,...
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...
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...
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...
Hit the button "Go Advanced", then the toolbar will contain the "attach file" toolbar button.
16720
Frank Cheng
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...
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),...
I gotta say, that "Technology of the Stack Project" sounds very mysterious and intriguing ...
Frank Cheng
You can use XSLT to format your XML.
Look up XSLTransformationToAddress
Frank Cheng
instead of <application> <workspace> <project>
do this "<application>" "<workspace>" "<project>"
Frank Cheng
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...
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...
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...
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......
Got the codes. Thanks.
Frank Cheng
Boss man said no codes...
Frank Cheng