Jump to content

mvanrijnen

Members
  • Content Count

    471
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by mvanrijnen

  1. mvanrijnen

    Interbase SQL

    Little tip, always try constructions as this, with a simple select statement first. eg (not corrected, just as example!): SELECT * FROM TABLE1 T1 WHERE EXISTS (SELECT 1 FROM TABLE1 T1 WHERE T1.ID= T2.ID); so you have an idea what records are gonna be hit.
  2. mvanrijnen

    Kaspersky and Compile/Linking

    Why? I use it (@home), and it works just great. TS has to make sure that he has a dedicated main folder to put his dcu's in, which then has to be in the Exceptions list for Kaspersky.
  3. mvanrijnen

    Kaspersky and Compile/Linking

    Aks if they can make a few directory/folder exceptions for you, should not be that big a problem.
  4. mvanrijnen

    enable/disable the internet connection?

    There are some policies what you can set gpedit.msc Computer Configuration>Administrative Templates>Windows Components>Windows Update But i believe microsoft can always push updates with nondomain member computers. (have to look that up).
  5. mvanrijnen

    Firebase Storage and tnethttpclient

    maybe post a little bit more code, how do you logon, keep credentials, do you need to hve cookies, or headers in the request? here's something you maybe can take a look at: Quick And Easy Way To Integrate Firebase Into Your Delphi Apps (embarcadero.com)
  6. I'm trying to catch the last active window in a traybar application. So as soon as the user rightclicks my traybaricon, the popupmenu shows, at that (or just before), i need to have the last active window (in windows, not a window of my application). I tried a few things with GetNextWindow(Application.MainWindowHandle, GW_HWNDPREV) and a few other options. but without success, anyone has a good tip in the right direction?
  7. Went to the enumwindows solution, more solid. thxn guys for the tips.
  8. yes, looking into that now. i'm testing a combinantion of things written here in this thread.
  9. thnx, was the most simple solution for me!
  10. No, sorry i'm not clear 🙂 The traybar app would need to know, when its activated which window in windows was active. So if i have notepad open and selected, and rightclick my traybar app, i need to have the handle to the notepad window, if i have also another app open (e.g. calc) and selected, and rightclick my traybar app, i need to have the handle to the calc app,
  11. mvanrijnen

    Pos, SplitString

    Yes, most DB components do, i did abuse (years ago) with some specific software to calculcate expressions, i just send them to the dbserver, and that did the calculations for me. SELECT (1+4)*5 AS result FROM dummytable ROWS 1 TO 1 now days i opt for a different solution 😉
  12. Would be nice to have a written transcript also. Many people (or at least one 🙂 ) prefers reading this kind of stuff instead watching youtube. Also no speakers connected at work to the computer.
  13. mvanrijnen

    Pos, SplitString

    Would the query component know what type after a .Prepare statement ?
  14. In the contract (we haqve with the sales company, barnsen), is stated: - The yearly maintenance contract includes all new version udates, maintenance upgrades en technical support. So i think under maintenace upgrades, many people (including me), will think that will be some patches/maintenance of known bugs in xx old versions backwards, so you can build your developed software with a less buggy develop environment.
  15. Yes, that was one of the big reasons here to take a subscription (for us). Maybe they find the patches not important enough, same reason they choose too keep absolute radio silence to their users about things. (with their level of communication, one would think that EMB is run by the CIA : ) ).
  16. Would be nice if they would patch 10.4.x also 😞
  17. mvanrijnen

    Any good replacement for Indy email?

    FIrst, which email components ? Which failures ? Which false negatives (if this is virusscan/spam detection, has nothing todo with indy itself, but how you use indy) Maybe your having troubles with the latest development of microsoft, they are pulling out old TLS versions. see: Preparing for TLS 1.2 in Office 365 and Office 365 GCC - Microsoft 365 Compliance | Microsoft Docs (just as info not a solution) you have any logging of the failures?
  18. mvanrijnen

    Moving from Per Monitor V1 to V2

    no answer but just for to be clear, your talking about this: Per Monitor V2 - RAD Studio (embarcadero.com) ?
  19. mvanrijnen

    Delphi 11.0 has a different form Caption offset than Delphi 10.4

    strange, delphi is not drawing these forms itself? vcl is just a door to the underlaying windows api? or does this depends wether you'r using vcl styles or something similar?
  20. mvanrijnen

    Any good replacement for Indy email?

    Yes, but not with Crosstalk, i just made an Com library in VS Community, just imported the tlb into Delphi and it works. I did not know that EWS was that old, have to take a look into it. I see we're supposed to work with Overview of Microsoft Graph - Microsoft Graph | Microsoft Docs instead. For now it works for us with the EWS. (i do that for more thing this way, because there's so much more available in .net these days) I'm sure going to take a look at AtoZed CrossTalk, never heard/read of it 🙂
  21. mvanrijnen

    Any good replacement for Indy email?

    Here the same, only for O365 i have build a "proxy" in C#, we use EWS for that now. (Exchange Web Services (EWS) Managed API reference | Microsoft Docs)
  22. mvanrijnen

    Any good replacement for Indy email?

    Can't you be a little more specific which problems you'r having with Indy ?
  23. mvanrijnen

    D11 - A bridge too far.. :-(

    main problem is that we have now a buggy D11, but they don't look back and fix the D10 version, there a lot of bugs that they could fix, but they just don't. i thought part of the subscription program was that they would fix bugs from a previous release. They entered a path where they never gonna get a (reasonable) bug fixed product. very very disappointed.
  24. mvanrijnen

    SQL date problem

    yes, you'r right, i think it's because this: i got cought up in that. So what i can see is that intenral in his code he's storing the dates as strings, got a little bit mixed up with the DB, easy, easy, easy, take a breath.
  25. mvanrijnen

    SQL date problem

    Okay, so you DB is ok, it's a DateTime field (or timestamp field), then the main problem is probably the storage in the tree, is this a visual treeview thing? best is to take a look at that, if you can improve the storage of the datetime value with the tree item, and keep a record or a pointer to a class instance with the correct data, so you can use your file datetime as a real datetime, then you won't have the problems with the strtodatetime thing when quering the database. it's only a tip, or let's say positive critisism 😉
×