Jump to content

adragan

uniGUI Subscriber
  • Posts

    192
  • Joined

  • Last visited

  • Days Won

    9

adragan last won the day on April 3 2019

adragan had the most liked content!

Recent Profile Visitors

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

adragan's Achievements

Active Member

Active Member (3/4)

28

Reputation

  1. Avoid frxDBDataset. It's not threadsafe. Also I had problems with RichText component. Try to store the database connection in the report with TUniDac Connection or whatever DB engine you use. It's threadsafe.
  2. I got this type of errors when the version of the unim-..... was not the same as the version of the library used to develop the program. On the server ..... unim-1.90.0.1550 but on development machine version was updated .....unim-1.90.0.1563 Hope it helps !
  3. As far as I know, Richtext is not thread safe. Maybe it was resolved in the mean time. I resolved the problem by using HTML tags in a TUniMemo. The export was ok.
  4. As far as I know Sqlserver has it's own backup cron. Template, backup plan and such. Why don't you use it ?
  5. I know there is a way to configure the DNS to do some sort of round robin algoritm. That means that mysystem.mycompany.com.br would point to 2 or more external IP adresses. You coud configure 2 master hiperservers ( + all slaves and notes replicated ) to respond each on it's routable IP adress and split the load from the main master hiperserver. You could reconnect all session later at the DB level. It's a crises solution, not very nice and in the mean time either implement Apache revers proxi or wait for Fershad to work his magic.
  6. While editing the report put 2 in Columns property.
  7. var pdf_name, fname : string; fs:TFormatSettings; begin ....................... //I think there is a newer function that generates a random name for files pdf_name:= 'Some_Name' + '_'+FormatDateTime('ddmmyyyynnss', Now(), fs)+'.pdf'; fname := UniServerModule.LocalCachePath + pdf_name; with YourTable do TBlobFile( FieldByName( 'The_Name_Of_The_Blob_Field' ) ).SaveToFile(fname); UrlFrame.BeginUpdate; UrlFrame.Url:=fname; UrlFrame.EndUpdate; end; Pay attention to paths !
  8. There are service providers that send SMS-s from a REST messages. I'm using this approch. From application I format a REST message according to the provider API using RestRequest, RestReponse etc. Each provider has a different API so code examples are of no use. I thought of Abaksoft solution at first but there was no GSM signal in the datacenter and sharing a modem USB port between more users has it's chalanges / complications. Not impossible thou.
  9. In very profane words here is how it goes: Classes presented by UniGui include a TCP server somewhere ( ServerModule actually ). When you compile as an app you compile the server inside the app + all the stuff you developed. Click on the app and it runns in the backgroud. You can see it in the task bar. If you run the browser and input http://localhost:8080 basically you request a connection to that TCP server from the app on port 8080 on protocol http. Now let't take Apache. Apache has some internel functions that let you bind external libruaries to it. Actually all Apache is a collection of libruaries with various functions. What Unigui does is to create a dll that has an entry point that can be called by Apache. That's why you put in the browser http://192.168.1.1/your_app.dll . You ask Apache to connect to the TCP server from your_app and present whatever your MainForm shows. Don't play too much with http.conf. You can mess it up easily. You can do without VirtualHost. First variant is the simplest.
  10. App.exe is not the host application. App.exe IS the application. By host application they mean IIS or Apache or any other web server that can run ISAPI dll-s. My advice is to develop and debug by generating exe app and when finished recompile as ISAPI dll and install it in the production enviroment ( IIS or Apache ). There is enough documentation on the site how to do it.
  11. Boa Noite. Voce conseguiu colocar uma checkbox dentro de um UniStringGrid.

    Tem como compartilhar seu conhecimento, estou precisando.

    Obrigado.

  12. On LAN there are solutions. On WAN it's more complicated unless you create a VPN with the remote clients.
  13. adragan

    send sms

    First of all you have to choose a service provider that receives messages on TCP/IP and converts them to SMS. There are lots of options and all have their interface different from each other. You format your interface based on their specification how the message should look like. Most use either SOAP or REST. More rare they use http so you can use TIdHttp to send the message. I used the RESTClient, RESTRequest, RESTResponse objects to handle the messages. Best of luck
×
×
  • Create New...