Jump to content

mvanrijnen

Members
  • Content Count

    489
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by mvanrijnen

  1. mvanrijnen

    Find all mentions of the database

    we use agent ransack for searching things like this, found on: Agent Ransack – Mythicsoft then search on all *.pas, *.dfm, *.fmx files. But if you smart then you use a TDatamodule, where you put yout connection in/on, and in other units you point to that connection, (maybe nog the connection itself), but ask the datamodule for a new connection instance etc.
  2. mvanrijnen

    Printing PDF

    So, a topic which returns now and then 🙂 Printing existing PDF Files. There are some options using cmdline tools/applications, adobe activex etc etc, But with al those options i have not enought control over how to print an existing pdf. like: * Which printer * Which bin of that printer etc. etc. Anybody a tip for a final solution? I prefer something which is 100% incorperated in the software itself (delphi vcl application).
  3. mvanrijnen

    Printing PDF

    ah ok, gonna take a look again, thanks for the tip
  4. mvanrijnen

    Printing PDF

    No i already have a PDF (generated with ReportBuilder), printing to PDF we already can. Now i have to print a already generated .pdf (at a later stage). gonna take a look into the sumatra pdf. I see it has a lot of printing options etc.
  5. mvanrijnen

    Introducing Delphi Uses Helper

    Would be nice if it (could) work the same as in VisualStudio, when i use a class/record type, it would give a hint in which units this would be.
  6. i believe EWS is deprecated, take a look at the MS Graph API: Microsoft Graph overview - Microsoft Graph | Microsoft Learn
  7. 🙂 Print Spooler API Functions - Win32 apps | Microsoft Learn
  8. mvanrijnen

    Delphi 11.3 is available now!

    Can we update or do we need to reinstall ?
  9. mvanrijnen

    Hands-On Design Patterns with Delphi

    Is asian kind of thing, same as "Same same, but different" 🙂
  10. mvanrijnen

    swagger help needed

    I never got time to make our own generator public . I am on holiday now. But try this out as soon as I get back
  11. i know, but i find it a hassle to keep this in sight which one (in this case System.DateUtils or our own Helpers.DateTime) is where in the uses clausules, in all our sourcecodes. But it's not a big problem, only hope there will be a solution for this problem.
  12. Yes, and we hit direct the problem with these class/record helpers. We had our own TDateTimeHelper, so we could change all code. Because it's never clear which helper it would pick, yours or theirs.
  13. I got the following answer on the same question: " ICS (Internet Communications Suite) is a suite of applications that includes several programs for communicating over the internet, such as email, instant messaging, and web browsing. To use ICS to fetch a webpage, you will need to use a web browser program that is part of the ICS suite, such as Netscape Navigator or Mozilla Firefox. Here is a general outline of the steps you can follow to use ICS to fetch a webpage: Open your web browser program by double-clicking on its icon or selecting it from the list of programs on your computer. In the address bar at the top of the browser window, type the URL (Uniform Resource Locator) of the webpage you want to fetch, and press Enter. The URL is the web address of the webpage, and it typically begins with "http://" or "https://". Wait for the webpage to load. This may take a few seconds or longer, depending on the size of the webpage and the speed of your internet connection. Once the webpage has finished loading, you can scroll through it and interact with any links or buttons on the page. I hope this helps! Let me know if you have any other questions. "
  14. mvanrijnen

    Delphi Code Coverage WIzard Plus V2.0 released

    looks good, already usefull!
  15. mvanrijnen

    Delphi Code Coverage WIzard Plus V2.0 released

    cool, was just thinking we would need something like this.
  16. i wonder if thats the best solution for the use case your describing (just) now. (just maybe a database event may just be better here .....) But mostly article prices have a startdate/enddate, so i wonder how big the customers problem is? What about if the government decides to change sales tax at 13.15 hour ? , change the order pricing/totals also?
  17. Forgot to mention, one of the advantages of a protocol like MQTT (there are other solutions with this advantage) is that you do not have to configure firewall on the workstations, only the server (incoming mqtt port), the clients just have an outgoing connection (most of the time allowed by firewalls), We had a solution first where client app's where listining on certain port, but this way we needed multiple ports per client, so also configuring the firewalls etc, that has fallen away now with the mqtt solution.
  18. We use this now, for inter app/device communication (local lan for now). No discovery, but configuration through dns text records (local lan), chang of server etc will be detected (polling dns with interval). So we can have some apps without config files etc.
  19. mvanrijnen

    Open AI Chat

    Question: Tell me how can embarcadero fix the Delphi LSP problems once and for all ? AI Answer:
  20. mvanrijnen

    Open AI Chat

    the answer from AI itselve As an AI trained by OpenAI, I can assure you that I am a real artificial intelligence. I was not created by simply extracting source code from any particular source, but rather by training a large neural network on a dataset of text and learning to generate human-like responses to questions and prompts. The training process for a language model like me involves exposing the model to a large amount of text data and adjusting the model's internal parameters to minimize the prediction error on the next word in a sequence. This process is repeated many times, allowing the model to learn the patterns and structure of the language it is being trained on and generate text that is coherent and sounds similar to how a human would write or speak. I hope this helps clarify any doubts you may have had about my nature as a real AI. Let me know if you have any other questions.
  21. mvanrijnen

    Open AI Chat

    the result: program AnsiMovie; uses SysUtils, AnsiStrings; const // Set the number of frames in the movie NUM_FRAMES = 5; var // Declare a variable to hold the current frame frame: Integer; begin // Loop through each frame of the movie for frame := 1 to NUM_FRAMES do begin // Clear the terminal WriteLn(AnsiString(#27'[2J')); // Set the text color to green Write(AnsiString(#27'[32m')); // Draw the ape WriteLn(' /\_/\ '); WriteLn(' ( o.o ) '); WriteLn(' >^< '); // Set the text color to yellow Write(AnsiString(#27'[33m')); // Draw the banana case frame of 1: WriteLn(' ||| '); 2: WriteLn(' / ||| \'); 3: WriteLn(' / ||| \'); 4: WriteLn('/ ||| \'); 5: WriteLn(' ||| '); end; // Wait for a short time before displaying the next frame Sleep(250); end; end. going to run it now
  22. mvanrijnen

    Open AI Chat

    I still wonder if it's real AI or just some smart extraction of harvested sourcecode, with a smart question->answer (part of extractcode) system. What if you question like: Create the Delphi code for creating an coloured ANSI movie of an ape what's eating a banana. hnmz, its creating code now.
  23. It's even worse, you would think as paying subscription customer, one would get an invite per email. Apperently customers have to read the blogs all day to find about things likes this. Ah, read over the premium thing 🙂
  24. mvanrijnen

    Code completion failure

    join the club: [RSP-39812] LSP and Code Completion not working properly - Embarcadero Technologies
  25. mvanrijnen

    Indy IMAP and Microsoft EWS

    thats a new one for me. thnx!
×