Jump to content

Abaksoft

uniGUI Subscriber
  • Posts

    1558
  • Joined

  • Last visited

  • Days Won

    87

Everything posted by Abaksoft

  1. Hello Sherzod, I haven't seen that one. You never cease to amaze us. Many Thx. Good appetite 😉
  2. I found this on forum : program Project1; uses windows, ShellAPI, SysUtils, Forms, ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule}, MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule}, Mainm in 'Mainm.pas' {MainmForm: TUnimForm}; {$R *.res} BEGIN //************************************* ReportMemoryLeaksOnShutdown := True; //************************************* Application.Initialize; TUniServerModule.Create(Application); // Fast run if (IsDebuggerPresent) // in Desktop mode only (Not IIS, not as Service, not HyperServer) and (extractFileExt(GetModuleName(Hinstance))='.exe') then begin shellExecute(Application.Handle, // Desktop PChar('Open'), PChar('Http://127.0.0.1:' + intToStr(ServerModule.UniServerModule.Port)),Nil,Nil,SW_Show); // Mobile // PChar('Http://127.0.0.1:' + intToStr(ServerModule.UniServerModule.Port)+'/m'),Nil,Nil,SW_Show); end; Application.Run; End.
  3. 1. On these particular servers, What Regional Setting have you ? Try to set the same wich work fine on other servers (standard decimal separator, numbers space format and....) 2. What is your Delphi version (old XE, or new 10, 11) ?
  4. Use ShellExecute on program principal. I will send you more details tomorrow...
  5. Humm.... 1. Update your Browsers try on latest Google Chrome 2. What OS use these particular servers ? 3. Before updating your Build 1565, does your old Build 1556 works on these servers ?
  6. Maybe on this particular server there is a conflict port. Can you try to change start_port on CD\ Res\Config.ini start_port = 700 (for example) Ofcourse, Unistall the previous Uniqui Project before (click on CD\install.exe --> button : Uninstall)
  7. Bravo MVakili, If all Unigui community post as you do, our cycle development will be faster. We will quickly achieve good performance and it will be beneficial for everyone. Many thx.
  8. Hummm.....Strange ! All seems good. OK: 1. What hapens if you test your 5 queries opening outside your unigui Project, on an other tool (DataBase Administrator) ? 2. What hapens if you test your unipageControl with only one page tab ?
  9. Can you try this : On your all Tabs UnipageControl 1. Set your UniDbGrid paged property : True 2. Limit all your queries to 100 records by SQL 3. DataSet.FetchAll : False 4. Dataset.autoPrepared : True 5 DataSet.usingBlob : False 6. Try to close your DataSet on each changing Tabs BTW : • what are your DB access Components (FireDac, IbDac,....?) • RDBM ? • Are you using BLOBs ? • Size if your Tables ?
  10. Dears Developers, For those who want to buy a new licence Delphi, there is a good news : https://www.barnsten.com/promotions/ ______ NB : I have no advertising or financial agreement with EMB or Barnsten co. I am posting here as useful information only.
  11. Did you try EassyInstall.exe with an empty Unigui project ?
  12. If you want to go with a deployment : Service / hyperserver Try my : EasyInstall_3.0.zip http://forums.unigui.com/index.php?/topic/14869-windows-service-issue-via-hyperserver/&do=findComment&comment=81109
  13. Hello, 1. Did you install Runtime_unigui_1565.exe on your server ? 2. Did you open your port 8091 ? 3. Did you update on server the 1565 build file hyper_server.exe (if service) and hyper_serverd.dll (if isapi) ? http://forums.unigui.com/index.php?/topic/18298-connection-issues/&do=findComment&comment=101078
  14. http://forums.unigui.com/index.php?/topic/23240-time-consuming-process-loses-connection/&do=findComment&comment=131531
  15. Hello bbm, ModalResult = mrOK means a log in. How are you closing your application ?
  16. Hello Wilton, Thank you for your feedback. Mmm...I did'nt mean that. Yes Classical Delphi Events are absolutly native and compatible in unigui. What i mean, is : 1. To free up server resources as much as possible. This is possible with ClientEvents = client side. 2. MemoryLeaks appears on Daniel Code, because of a no conventional use of a classical Delphi Event (server side), That's why i suggested Ajax wich solved the problem.
  17. Hello, Use instead Ajax. That not generate MemoryLeaks Works, in Both 32 and 64 bits. You have to think "Web" now. Ovoid using classical Delphi events (onClick, OnKeydown...) For this, define for each event you want, its ClientEvents > ExtEvents Don'nt be discouraged, you have many examples on forum. See attachments... GridColumnSort_New.7z
  18. Here you have a basic example for Flex, Hbox, Vbox: http://forums.unigui.com/applications/core/interface/file/attachment.php?id=4546
  19. Hello Frederick, Very easy • ServerModule: MainFormDisplayMode:= mfPage • Mainform > ClientAligment • Adjust Flex property for each Panel. Here is in attachment, an example for mobile layout, but the same idea for Desktop. You have to play with : • Flex • width : 100% • Height 100% • vbox • Hbox • Fit • margin ... http://forums.unigui.com/index.php?/topic/15007-mobile-centering-text/ Also, there are many example on forum. Just type layout....
  20. Hello, Session Active: Time Out There are three things to know : 1.SessionTimeOut: ServerModule > SessionTimeOut = 600 000 (by default 10 min) 2. Session open indefinitely: MainModule > Event SessionTimeOut: ExtendTimeOut :=600 000; // 10 min more, each time: never stop! (Better than putting an empty Unitimer on mainForm) ExtendTimeOut is not recommanded when you have many sessions opened (consum many ressources). 3. Long treatment: ServerModule > AjaxTimeOut = 30 000 (by default 30 sec) --> extend it... always it is necessary that: SessionTimeOut > AjaxTimeOut _________________________ In your case the most important parameter is AjaxTimeOut. Extend it to 100 000 If you have somme long Reports tasks or DB queries, extend your AjaxTimeOut. Enjoy... SessionActive_2.7z
  21. "Sometimes default IIS IUSR account may not give enough access rights to required system resources"... http://www.unigui.com/doc/online_help/using-a-different-account-for-.htm This is a recurrent issue, manytimes apears on forum. Please check.
  22. You can follow step by step the guidebook : http://www.unigui.com/doc/online_help/isapi_module.htm
  23. Hello, Just put an UniTimer (1000 ms) on the mainform. • Set it enabled:=True on Activate mainform event • its procedure is empty This is a tip that maintain your session activate permanently. But... http://forums.unigui.com/index.php?/topic/17841-how-to-manage-expired-login-sessions-gracefully/&do=findComment&comment=97224
  24. @Erich, Probably Local Storage is a good solution for you. http://forums.unigui.com/index.php?/topic/12306-how-can-i-access-local-storage/&do=findComment&comment=65734
×
×
  • Create New...