Jump to content

adragan

uniGUI Subscriber
  • Content Count

    183
  • Joined

  • Last visited

  • Days Won

    9

adragan last won the day on April 3 2019

adragan had the most liked content!

Community Reputation

27 Excellent

About adragan

  • Rank
    Active Member

Recent Profile Visitors

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

  1. 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.
  2. 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
  3. 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.
  4. Boa Noite. Voce conseguiu colocar uma checkbox dentro de um UniStringGrid.

    Tem como compartilhar seu conhecimento, estou precisando.

    Obrigado.

  5. On LAN there are solutions. On WAN it's more complicated unless you create a VPN with the remote clients.
  6. 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
  7. Browsing through 10000 records is meaningless. Using a significant result set from a query is something one needs. If it's about testing the performance of the framework, I can understand, but for a real world application it's a waste of time and resources.
  8. frRichView is not threadsafe. I got it. Tested ! I used TFrxMemoView with AllowHTNLTags:=True and inserted tags in text. Not the same thing but close .
  9. With MyDac you can work in 2 ways. If you put in the connection object Autocommit:=true it does the job by itself. Even if you have Autocommit:=True , if you explicitly start a transaction , you have to commit it the same way. If you start it and don't commit it it's anybody's guess what's happening, but by closing the query it will try to commit it anyway.
  10. To save the time, I got it from an example var S : TUniGUISessions; U : TUniGUISession; i , nr: Integer; ASessionList : array of TUniSessionInfoRec; begin S := UniServerModule.SessionManager.Sessions; nr:=S.SessionList.Count; S.Lock; // Using Lock on session manager should be used with extreme care. // We should keep this "Lock" active as short as we can. Session Manager stops working until lock is released. // Excessive use of lock/unlock or keeping the lock active for
  11. Speed of a query depends of a lot of things and I think the last one is UniGui. Run and optimize the query first from the administration console of the db server, Some DB engines load only a no of pages in memory and retrieve the rest only on demand. Try to check the processor load with users on if you can. That's only a few of the thing that can go wrong. In my case with 60 users connected and on a table in excess of 100 milion records an indexed search "paints" a result set of 216 records in less than 3 sec. So figure.
  12. Why don't you define 2 different sites on the same machine. One to be adressed as http://localhost/first_app and the second http://localhost/second_app I used this approach and it works.
  13. Hi all, I am trying to use the Menu object on tablet app. It has a Menu.Show property but as far as I can tell no Menu.Hide . Is there a way to hide the menu after pushing a button ?
  14. It's so simple : Use TUnimUpload UnimUpload.Accept:='image'; UnimUpload.Capture:='camcorder'; //For some reason 'camera' did not work UnimUpload.Execute; and OnCompleted CopyFile(PChar(AStream.FileName), PChar(DestName), False); where DestName is where on the server you want the picture saved. That's all
  15. adragan

    Server Web

    Check the firewall if it accepts inbound connections on the port of your application. If it's a exe then standard is 8077. If you tried ISAPI then standard is 80.
×
×
  • Create New...