Jump to content

Soji

Members
  • Content Count

    43
  • Joined

  • Last visited

Everything posted by Soji

  1. Thanks for your response. Application.ProcessMessages is not a solution I am fond of. I wanted to avoid that and came into the peekmessage option. Yes. It is possible to move to thread. But it is a big overhaul and in sustain mode, it is not allowed to do that overhaul.
  2. Hi, We are trying to add the functionality to allow the user to change the SQL server password if it is expired. The following code snippet using TFDConnection shows what we are trying to do: FDConnection1.Params.Values['Server'] := 'SQLExpress'; FDConnection1.Params.Values['Database'] := 'TestDatabase'; FDConnection1.Params.Values['User_Name'] := 'testuser'; FDConnection1.Params.Values['Password'] := 'oldpass'; FDConnection1.Params.NewPassword := 'newpass'; FDConnection1.Open; But when we get an error while trying to change it: [FireDAC][Phys][ODBC][Microsoft][ODBC SQL Server Driver] Login failed for user 'testuser'. (Error Code is 18456) Tools we use: RAD Studio 10.2 FireDAC = 16.0.0 (Build 88974) Platform = Windows 32 bit SQL Server 2016 express edition ODBC Driver 17 for SQL server. What we observed is that if we use then it works with a patch in FireDAC units. (While debugging we found that it uses a method TFDPhysMSSQLConnection.CheckPasswordChange which uses a connection to check the SQL versions but by that time the connection was not able to make because of the password expiration. So we commented the code inside "CheckPasswordChange" and then it started to work.) But we are told to use ODBC Driver because Microsoft is not going to support Native Client in the future. Is it possible to change an expired password using FireDAC in combination with ODBC driver.? If that is possible then any advice to fix the problem mentioned above? Kind Regards, Soji Mathew.
  3. We are planning to update our version control system from Microsoft Visual Sourcesafe. We are looking for a free or paid Version Control System. When I look into the Delphi IDE, there are three options - Subversion, Git and Mercurial. We are in a dilemma which one to use. People who are using any of those Version Control Systems, please share your experiences. (Or something else out there which are very good to use)
  4. Soji

    PDF Encryption

    I have a requirement to encrypt a PDF file with password. Does anyone have experience doing this with any libraries? (I am looking for a free library at this moment.)
  5. Soji

    PDF Encryption

    I already downloaded that tried. But it seems like it can only generate the PDF. I haven't find anyway to load an existing PDF file and just encrypt it. I looked into the help/source and it looks like it is not possible to load an existing PDF file and make changes with that unit.
  6. Soji

    FireDAC - Change Expired Password

    Thanks Dmitry. We will try to update to latest Delphi and see if it works.
  7. Soji

    FireDAC - Change Expired Password

    You mean FireDAC can do with ODBC driver?
  8. Soji

    Hands-On Design Patterns with Delphi

    Does anyone already received the printed book?
  9. Thanks Anders Melander.
  10. Thanks Dalija Prasnikar.
  11. We are open for commercial solution also. Thanks for your suggestion.
  12. 👍 I will explore Git Kraken. If we are moving to Git, we prefer a GUI.
  13. Thanks for your suggestion.
  14. 🙂 Thanks for your suggestions and example links. Very helpful.
  15. Some of us has the experience with Git. But not all. For others it is a big learning curve for sure. As of now there is no need for distributed VCS. Thanks for your suggestion. Will looking into SubVersion also.
  16. Thanks for your suggestion. I am also inclined to Git...
  17. 10 Users currently. But I would like to go for a system which supports many users.
×