Click here to Skip to main content
16,004,529 members

Comments by PIEBALDconsult (Top 200 by date)

PIEBALDconsult 28-Aug-24 21:18pm View    
Read it into a DataTable, update it, then rewrite the file.
PIEBALDconsult 21-Aug-24 16:44pm View    
Wait, IMEX=2 ? Is that correct?
PIEBALDconsult 21-Aug-24 16:43pm View    
Or open a UDL file and check the list of providers. Or ask the OleDb system to list them.
PIEBALDconsult 21-Aug-24 16:37pm View    
You can search for the other million times that's been asked.
PIEBALDconsult 21-Aug-24 12:19pm View    
Absolutely. You (as opposed to me) need to know the size. And different architectures.

But ... back in the 90s, when I was being paid to write C to run on Alpha chips, the same code had to run the same on VAX chips, and other systems (running DOS or QNX). The gurus had long before decided to use defines for TRUE and FALSE. Something like #define TRUE (0==0) and #define FALSE (!TRUE)
arguing that it was device independent, etc.

They also had an odd view that using define saved bytes, so we used them for pretty much anything constant.
And yoda-coding, : shudder :