Jump to content

Vandrovnik

Members
  • Content Count

    272
  • Joined

  • Last visited

  • Days Won

    4

Vandrovnik last won the day on May 5 2020

Vandrovnik had the most liked content!

Community Reputation

86 Excellent

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Vandrovnik

    Android - new version of file in assets\internal\

    Hmm, for now "solved" for deployed file MyFile.txt on app start: - if exists, delete MyFile2.txt - rename (deployed) MyFile.txt to MyFile2.txt - in the app, use MyFile2.txt
  2. Hello, I have a text file which I need to load from my app on Android. So I put it in Deployment Manager, remote path = assets\internal\ (tried assets\internal too). For the first time, it works fine - file is deployed and I can read it in my app from tPath.Combine(tPath.GetDocumentsPath, TestFileName); But, when I update the file and deploy again, my application still sees the old version of it. In Deployment Manager, there is a column named Overwrite, I have set it to Always. When I uninstall and deploy again, application has access to new version of the file. Looking to System.StartUpCopy.pas, it seems that it never overwrites existing files. Please how to solve it? I need my application to be able to read actual version of the file. I probably could change the name of the file each time I make a change in it, but I do not like this way because I will certainly sometimes forget to rename it. Kind regards, Karel
  3. Vandrovnik

    compiling DCU without creating EXE

    What if you set in Project Options to create .exe on non-existent path, like W:\Output?
  4. Vandrovnik

    Delphi 5 Printing

    What about the printer name? Isn't it just quite long?
  5. Refactor/Rename did not work for me too. It started to work properly after installing some Windows updates, including optional ones (including KB5000842).
  6. Vandrovnik

    Several F2084 Internal Error on Delphi 10.4.2

    May be Emba could provide you this hotfix for testing? I guess it will not be worse than it is now.
  7. Could the problem be related to https://quality.embarcadero.com/browse/RSP-32278 ? I remember someone wrote that they solved it by changing TTask to TThread.CreateAnonymousThread.
  8. Vandrovnik

    A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints

    Confirmed, problem appears 🙂 1) Monitor 1 @ 150 % Monitor 2 @ 100 % Monitor 2 is my primary monitor When app is on monitor 2 (primary, 100 %), it works fine. When app is on monitor 1 (not primary, 150 %), problem appears - app alternates between 150 % and 100 % zoom on this monitor 2) Monitor 1 @ 100 % Monitor 2 @ 150 % Monitor 2 is my primary monitor When app is on monitor 2 (primary, 150 %), it works fine. When app is on monitor 1 (not primary, 100 %), problem appears - app alternates between 100 % and 150 % zoom on this monitor
  9. Vandrovnik

    A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints

    Can you upload whole project with all the settings you use?
  10. Vandrovnik

    A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints

    Does not happen on my PC (100 % and 150 % monitors). Windows 10 Pro Czech, 20H2, build 19042.906.
  11. Vandrovnik

    Download Images from a URL

    uses System.Net.HttpClient; procedure TMainForm.Button1Click(Sender: TObject); var HttpClient: tHttpClient; m: tMemoryStream; begin m:=tMemoryStream.Create; try HttpClient:=tHttpClient.Create; try HttpClient.Get('https://www.embarcadero.com/images/logos/logo-black-corp-grey.png', m); finally FreeAndNil(HttpClient); end; m.SaveToFile('r:\img.png'); finally FreeAndNil(m); end; end;
  12. Vandrovnik

    Download Images from a URL

    THTTPClient? http://docwiki.embarcadero.com/Libraries/Sydney/en/System.Net.HttpClient.THTTPClient
  13. Vandrovnik

    10.4.2 LSP code completion error

    I have KB5000842 installed and code completion is working. W10 20H2 Pro Czech, build 19042.906.
  14. Vandrovnik

    10.4.2 LSP code completion error

    I have removed KB5000802, because it dies with blue screen when printing to Kyocera...
  15. Vandrovnik

    Embarcadero.com

    I wonder if someone reads these sliding boxes.
×