Jump to content
uniGUI Discussion Forums


uniGUI Subscriber
  • Content Count

  • Joined

  • Last visited

  • Days Won


mierlp last won the day on December 16 2019

mierlp had the most liked content!

Community Reputation

48 Excellent

About mierlp

  • Rank
    Advanced Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    WEERT (Netherlands)

Recent Profile Visitors

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

  1. mierlp

    License manager & Software Protection

    Hi There are several solutions in the market for securing software, but it is precisely what you want to use it for. You can also make something yourself in combination with a subscription model. For example, you can also create an encrypted file with customer data that is always displayed, which also uses a machine ID or mac address of the server or another unique key. For example, a key that you generate based on customer data or a random code. You can use a GUID in your application and include that code as a unique code in an encrypted file. You regularly check whether the GUID is equal to the content of the file and you also do a check in your online license manager. Here you arrange your subscription and determine whether the application can run or not. If you turn off the subscription in your license manager, you also change a parameter in the encrypted file so that the application does not work if they turn off internet traffic or apply a firewall rule. You can also use the registry as a fall-back of the encrypted file if, for example, they restore a version. Pay attention when using unique hardware data as this may change again. Certainly when your customer starts using virtualized servers, for example with VMware and a VMotion takes place to another server. https://avlock.av-soft.com/ see the documentation section for info http://www.jproductivity.com/ http://www.ssware.com/index.htm https://www.oreans.com/ https://agilis-sw.com/
  2. mierlp

    save and load File in Database: Has someone a Demo??

    True ... every variant has its advantages and disadvantages. When you apply clustering, I can also assume that the database environment is also clustered. You can use load balancers for high availability and realize redancy. By using virtualization in combination with hyperconverged or converged server and storage platform, you can now build beautiful, stable and fast systems.
  3. mierlp

    save and load File in Database: Has someone a Demo??

    See my older answer:
  4. mierlp

    Format field with DBGrid.OnDrawDataCell property

    Hi You're solution works fine...thanks. I have created in the main table a lookup field for showing a TIME value from a other table. When i created the lookup field and set the type to TIME or STRING then you can't format it with this code. Then i got a exception error. When leaving the code it show the time value but Always in HH:mm:ss I think it's not possiblie to format a lookup field this way. But thanks for the solutions
  5. Hi In VCL you can use this code to format a field. Within uniDBGrid this event is not available
  6. mierlp

    Calculate duration between time values

    Hi Sherzod Simple test case added testcase - calculate time.zip
  7. mierlp

    Calculate duration between time values

    @sherzod No different formats. At this point we do it all. @jean-marc Thanks..i will try. There are no different time zones
  8. Hi Within my application I use block-time. A block-time is a time period in which volunteers work. For a block of time I want to register the start and end time after which the duration must be calculated. The date is not important but I do need it to calculate the correct duration. Now I use the following fields: - StartDate (date field) - StartTime (time field) - EndDate (date field) - EndTime (time field) With a new record, the current date is stored in the StartDate and EndTime fields. Calculating the duration goes well when I am in a period between 00: 00-00: 00. When I specify a time between 2:00 PM and 4:00 PM, the duration is calculated as 2:00 AM. When I specify a time between 10.00 and 2.00 p.m., the duration is calculated at 8 p.m. but should actually be 4 p.m. Question: - which type of field can I use best, DateTime or a separate date and time field - how can I correctly calculate the duration when the start time <00:00 and the end time> 00:00 Now i use this code to calculate duration: iAmountMinutes := MinutesBetween(TypeBlockTime.Fieldbyname('EndTime').value,TypeBlockTime.Fieldbyname('StartTime').Value); TypeBlockTime.FieldByName('showTotalHours').value :=Format('%2.2d:%2.2d',[iAmountMinutes div 60,iAmountMinutes mod 60]); Regards Peter
  9. mierlp

    Full Step of deployment

    For hosting you can choose a provider with VPS servers. See https://www.strato.nl/server/vps-windows/ or https://contabo.com/?show=vps
  10. mierlp

    Change frame.cursor

    Hi For a form you can set the cursor like FormVendor.Cursor := crHourGlass When i try FrameVendor.Cursor := crHOurGlass i get the following message when compiling : fraVendor.pas(291) E2233 Property 'Cursor' inaccessible here Is this not possible with a frame ?
  11. Hi Farshad It is good to hear that something is going to happen to the critical comment in this post. I am one of them and therefore very curious how this will be filled in and how we will notice this. Of course, it goes beyond a new roadmap or extension of subscriptions. It would help to make it S.M.A.R.T. Regards Peter
  12. mierlp

    how check internet connection unigui

    I found a older topic but did not try it What is URL.DLL? The file named URL.DLL is developed by Microsoft Corporation. The file is used by the Internet Explorer and the shell extension module. IE is the basic internet browser on all Windows platforms. The DLL is safe and it receives prompt security updates. The threat level of the file is found to be 1. URL.DLL is located in C:\Windows\System32\url.dll.
  13. Even when starting Windows 10 in SAFE MODE with only the network connection i still got the same error over and over. What can i do more...
  14. Hi Sherzod, I have just de-installed Delphi complete, inclusief deleted all registry entries, files etc. New clean installation of Delphi 10.3.3 + uniGui no other components. Took the example...same error again whatever i try also when creating a new project and put a uniPageControl on the form, add several pages, delete 1 pagen...error
  15. In design time delete a page form the uniPageControl, then the error occures (in my case) error only appears when using uniGui and can't figure out if there a conflict with other third part components I did a test with only the default installed Delphi components and deleted all other third part ...but still the error exists.