Jump to content

amit

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

3 Neutral

Recent Profile Visitors

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

  1. Hi Roger Cigol, English is not my daily use language. I'm not good at English so I'm sorry if it make you confuse about my question. I try to explain as much as I can. I attached 4 pictures to show what I'm trying to explain my question. Problem is 1. All customstyles that applied to all components will not shown properly when compile with Enable Skia. Application can be run from Windows Explorer and under the IDE. 2. If Compile with disable skia, the application can be run under IDE only with properly customstyles display. But the application cannot run from Windows Explorer and it will always give the runtime error 217.
  2. It is FMX application on Windows. Now I found the problem. I used Skia (TSkAnimatedImage) on the form. I run this code under the IDE without Enable Skia, it works without problem but not running directly on the output application. So if I Enable Skia and compile, it works both on the IDE and output application. But I found another problem, all FMX styles that I applied to many components were lost. Can you help solving this problem or I should not use Skia, and find the other animatedImage Component instead?
  3. I compile and run the Application from the IDE, it works fine. When I run it by double click on the application file it give me the Runtime Error 217 at 0142EA7C. I try searching for solution on internet and follow the suggestion but it didn't work at all. sfc /scannow dism.exe /Online /Cleanup-image /Restorehealth Any suggestion are appreciated ,
  4. Follow the suggestion from programmerdelphi2k, I finally found all New Comboboxes or Listboxes will be got effect on new Text Size and Color settting in ListboxItemStyle. It is global effect to all components that Listboxes associated with. I try to rename listboxItemStyle to cboListboxItemStyle in Edit Custom Style and save, then all comboboxes and Listboxes were reset to default no style applied to them. So I try to apply the cboListboxItemStyle during runtime using this code but it has no effect. for var i: integer := 0 to (ComboBox1.Count - 1) do begin ComboBox1.ListItems[i].StyleLookup := 'cboListboxItemStyle'; end; So it seems combobox.listbox were fixed to ListboxItemStyle only. It cannot be customized. I need to know if there is a way to individually customize combobox and listbox.
  5. Hi, I created project name A. When I compile project I will get name A.exe. I need to define some directive in source code and it will change the output application name when it was compiled. if it's possible to do that and how? for example Program A; {$DEFINE B} ... begin .. end. if I code it like this. I need to have B.exe or AB.exe instead of A.exe when it was compiled.
  6. I have strings in the TStringlist as follows ABC10 ABC1 ABC2 ABC21 I sort it using TStringlist.sort then I got the sorted result as ABC1 ABC10 ABC2 ABC21 But I need to have the results after sort as follows ABC1 ABC2 ABC10 ABC21 Is it possible to do that?
  7. I mean to determine its version by Delphi Code.
  8. How to determine whether 32 or 64 bits Firebird was installed on PC? Is there any Delphi Code sample for this?
  9. I can use Mutex to prevent multiple instances app in VCL mode. How to Prevent Multiple Instance Application Running in FMX?
  10. How to change Comport Name for example from COM1 to COM10? Msports.dll contains functions concern to work on assigning the comport but I don't know how to call those functions. Please suggest how to write Delphi code to do this task.
  11. I still be able to download if I had login.
  12. HI Remy, I wonder why it can be used on my development PC but not on the target PC. I got this error on the Target PC - EIdOSSLCouldNotLoadSSLLibrary: Could not load SSL library. I knew it concerned to SSL libeay32.dll and ssleay32.dll. I copied it to the application folder but it still have this error. Can you suggest what should I do?
  13. amit

    TIdHTTP to TNetHTTPRequest

    Dear Remy, Are these CredentialStorage and AuthEvent limited to only Basic Authentication? Is there any processing different among using CustHeaders and the methods you suggested? And many thanks for your suggestion.
  14. Sample code for someone who need to work on JSON. JsonDemo.rar
  15. amit

    TIdHTTP to TNetHTTPRequest

    Just try and let me know if it works. uses ..., System.NetEncoding, ... ... var Base64: TBase64Encoding; httpClient: THttpClient; ... begin ... httpClient.ContentType:='application/xml'; Base64 := TBase64Encoding.Create; httpClient.CustHeaders.add('Authentication','Basic ' + Base64.Encode('user:password')); Base64.Free; httpClient.CustHeaders.Add('OrganisationId', 'your dm.Company'); httpClient.CustHeaders.Add('Accept', 'application/xml'); httpClient.Post('your URL',xmlData); ... end;
×