Jump to content

DeHeus

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

692 profile views

DeHeus's Achievements

Newbie

Newbie (1/4)

2

Reputation

  1. You mean the DLL of my UniGui project? It's 32bit (Target platform is Win32). I found the libeay32 and ssleay32 dll in C:\Program Files (x86)\FMSoft\Framework\uniGUI\SSL\dll\, from there I tried both the dll's from the x86 and x64 folder. But none work. Tried copying to same folder as UniGui DLL and to C:\Windows\System32. Do I need install them, instead of just copying? The only thing I haven't tried is rebooting the server. It's a production server so I hope I can avoid that.
  2. Does anyone have a solution or tips? We're still facing this issue
  3. On my machine: UniGui Professional Edition Version 1.70.0.1485. On the server the following runtimes are installed: 1.0.0.1423 1.70.0.1485
  4. I try to sent an e-mail using the Indy SMTP component, but I keep getting the error Failed to load libeay32.dll, no matter where I place the DLL's, it will not sent the e-mail. The website runs as an ISAPI module in IIS, server OS is Windows 2016. DLL's are placed in C:\Windows\System32 and the folder where ISAPI dll is placed. It works nice on my local machine, but throws error on the server. We need SSL support as we are sending via office365. The code: iSMTP.IOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(iSMTP); iSMTP.UseTLS := utUseExplicitTLS; TIdSSLIOHandlerSocketOpenSSL(iSMTP.IOHandler).SSLOptions.Method := sslvTLSv1_2; iSMTP.Host := 'fromsettings'; iSMTP.Port := 587; iSMTP.AuthType := satDefault; iSMTP.Username := 'fromsettings'; iSMTP.Password := 'fromsettings'; iSMTP.Connect; iSMTP.Send(iMessage); //<-- This throws error What am I missing?
  5. Was a reboot required? Or was just copy-ing DLL's to system32 folder enough?
  6. A tip for anyone who finds this thread and who wants to change the format of numbers or dates, check http://www.unigui.com/doc/online_help/formatsettings-.htm for information about the (correct) usage of FormatSettings.
  7. Any news on this? I think this feature is a "Must have" or at least "Should have". Our customers are asking for this.
  8. A property to add custom CSS class to a control (textboxes, comboboxes) design time. Just a simple text property which value will be added to all the CSS classes that UniGui add's to the input-control.
  9. Is it possible to do this in Delphi code as well? I want to do it based on the value of a property. EDIT I found you can do it like this: yourControl.Color := StringToColor(dmCss.RequiredField); dmCss is just a simple datamodule. type TdmCss = class(TDataModule) private { Private declarations } public const RequiredField = '$00F1DDC1'; end; But that does only the background color. Using a CSS class would be much better, as that gives us the possibility to also color border and do more styling on a web based way. We are doing web development, aren't we? So if anyone knows the answer how to add a CSS class to the input element via Delphi code, please let me know :-)
  10. Thanks for your answer, I've got it working. As columns are created at runtime I've implemented it in the AfterOpen event. procedure TfrmTestForm.qryItemAfterOpen(DataSet: TDataSet); begin inherited; TFloatField(qryItem.FieldByName('FloatField1')).DisplayFormat := ',0.00'; // some more columns end;
  11. I'm developing in .NET for 10 years, but I'm pretty new to Delphi (developing about a year), and even more new to UniGui, so forgive me if it's a basic question. What is the best way to format the text displayed in a TUniDBText? I've a couple of TUniDBText fields on my form, all bound to seperate float fields of the same Datasource. I want the numbers to be displayed with 2 decimal characters. How can I achieve this? When there are multiple options what are pro's and con's of each solution.
×
×
  • Create New...