Jump to content

Frederick

uniGUI Subscriber
  • Posts

    608
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Frederick

  1. Frederick

    Variables

    Thank you for the examples.
  2. My Hyperserver settings are currently:- [hyper_server] ... initial_nodes=2 max_nodes=8 max_sessions=0 sessions_per_nodes=0 ... With sessions_per_nodes=0 and max_sessions=0, do these mean that there is no limit to the number of sessions that can handled by the max_nodes of 8? The Hyperserver monitor is showing a Max of 20 sessions. What does this mean?
  3. Frederick

    Variables

    How do I repeat this behaviour? I run two instances of the app in two tabs of the same browser or one instance each of the app in two different browsers and I am not seeing this. I declare a variable in the public section of the MainForm: public { Public declarations } cVar : String; and add a button in the MainForm to change the variable to something in the OnClick event: cVar:='Changed'; and show the variable in the MainForm's OnShow event: showmessage(cVar); After clicking the button in the first instance of the app, I run the second app but do not see the "Changed" message. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1539)
  4. In the attached screenshot of Hyperserver, which memory resource information should I use to determine the expected RAM needed to handle up to 500 active sessions? Currently, no user has logged in. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1539)
  5. Based on the documentation on default Hyperserver settings and the attached Hyperserver screenshot, will they be sufficient to handle up to 500 simultaneous active sessions at any given time? If not, what settings should I change to allow this? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1539)
  6. Thank you for pointing me in the right direction. I really appreciate this.
  7. I did look at the documentation but which UniGUI component should I use to call the API? Would it be TUniURLFrame? I am inclined to call their HTML+JS code sample. Is there a desktop demo I can refer to?
  8. Does anyone have experience with integrating Stripe's (www.stripe.com) payment API with UniGUI? Where do I start? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1536)
  9. I noticed that even with version 1.90.0.1536, the problem with different total pages for PDF and printer output still remains. Using TUniURLFrame to read the PDF file correctly shows 1 page for both PDF export and printer output. Is the problem with TUniPDFFrame fixable or do I need to continue to use TUniURLFrame?
  10. Is it possible to replace the login screen of the hyperserver with our own design to maintain app theme and design consistency? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1536)
  11. I can report that version 1.90.0.1536's Hyper_server.dll now displays the login screen when the appropriate login parameters are set in the CFG file.
  12. I am still getting the 500 error when using the 64 bit version of hyper_server.dll in UniGUI 1.90.0.1536.
  13. I changed my code to below but there is no effect. TUniURLFrame1.JSInterface.JSCode(#1'.iframe.contentDocument.addEventListener("keydown", function(e){top.ajaxRequest('+ Self.WebForm.JSForm.JSName +', "keydown", ["key="+e.keyCode])});')
  14. How do I check if the ESCAPE key had been pressed within the TUniURLFrame and handle it? The following code that works in TUniPDFFrame does not work here. TUniUrlFrame1.JSInterface.JSCode(#1'.iframe.contentDocument.addEventListener("keydown", function(e){ajaxRequest('+ Self.WebForm.JSForm.JSName +', "keydown", ["key="+e.keyCode])});') -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1534)
  15. I renamed my existing Hyperserver DLL to a temporary file and copied the 64 bit DLL Hyperserver (version 1534) and restarted the server. When I attempted to run the app, IIS threw up a 500 error. I copied the 32 bit DLL Hyperserver (version 1534) and replaced the 64 bit DLL and I could then start the app. Is there a problem using the 64 bit DLL of Hyperserver? My app is 64 bit compiled.
  16. Yes, I have recycled all nodes just now. I am not sure if using the 1524 (32 bit) version of Hyperserver to run my 1534 (64 bit) compiled EXE could be a problem but I tried and failed to overwrite the 32 bit DLL but that is a story in another forum post.
  17. I tried the above and the login screen is shown when the app is compiled to an EXE and run directly. However, my setup is via a call to the Hyperserver's DLL which reads the Hyperserver's CFG file and then runs my EXE file. In this case, the login screen is not displayed and the Hyperserver monitor is just shown immediately.
  18. In my Hyperserver DLL configuration file, I set the following parameters:- [hyper_server] prompt_login=1 [login-0] user_name=myname password=mypass admin=1 but the server monitor login screen does not appear when my URL is http://www.mydomain.com/myapp/myapp.dll/server. I get the normal monitor screen. What am I doing wrong? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1534)
  19. I am trying to replace the Hyperserver DLL from 32bit to 64bit in Windows Server 2016 from the command prompt but I keep getting a "The process cannot access the file because it is being used by another process." message. There are no web browsers calling the DLL but in the task manager, I see that the process keeps starting by itself even when I end task it. How do I work around this? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1534)
  20. I'll answer this myself based on a forum message here. In the Default Document module for the web site, add the app's DLL file name. In my case, it would be myapp.dll. Then, in the web browser, typing http://localhost/myapp will open the app without showing the DLL name.
×
×
  • Create New...