herculanojs Posted July 24, 2016 Share Posted July 24, 2016 Would have some way of interacting with an application on the client machine? For example, an application that was waiting for commands to be executed. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 24, 2016 Share Posted July 24, 2016 Hi, Maybe like this: http://forums.unigui.com/index.php?/topic/3529-webcmd-start-a-command-line-console-app-in-browser-interactive/ Best regards. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 24, 2016 Author Share Posted July 24, 2016 error Class TUniSimplePanel not found Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 24, 2016 Author Share Posted July 24, 2016 something I could interact with the local machine and not the server Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted July 24, 2016 Share Posted July 24, 2016 Make a local application with a server or a registerd URI. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 24, 2016 Author Share Posted July 24, 2016 I did not understand Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted July 24, 2016 Share Posted July 24, 2016 (1) local Application has a server component, you "talk" to this server what to do (2) local Application has a registered URI: You call a Linkt with this URI. For Example a link tel:12345 starts a phone app calling this number. You can use your own URI. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 24, 2016 Author Share Posted July 24, 2016 Yes, to the application server understand. I plan on using indyTCP. But how it is that by unigui application I communicate with this application on the client machine? Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted July 24, 2016 Share Posted July 24, 2016 Use a HTTP server and you can use XMLhttpRequest in JS or such a call from server side in delphi. (You must know IP and Port.) It is similiar to this. Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted July 24, 2016 Share Posted July 24, 2016 3) or you use this "long polling example" to need only http client (request) in your App and one real server. So no problem to know the ip and port on each client and it works over internet, not only intranet. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 24, 2016 Author Share Posted July 24, 2016 What I do, it is to have one server on the local machine that will receive the web client (unigui) commands to perform something. As I can not eg print direct a POS through door, send the command to the server on the local machine and this would do what I want. Quote Link to comment Share on other sites More sharing options...
zilav Posted July 24, 2016 Share Posted July 24, 2016 Client machines should send events into your unigui app, which in turn will connect and send commands to the other server(s). This way you only need to configure firewall and other required services on your unigui server, not on every client. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 24, 2016 Author Share Posted July 24, 2016 The truth is I need to interact with devices on the client machine. As via browser got nothing so far, the solution I'm finding is via HTTP between client / server and browser / http in client / desktop. So the client / desktop will perform the task of communicating with the device / port / read I need Quote Link to comment Share on other sites More sharing options...
zilav Posted July 24, 2016 Share Posted July 24, 2016 I specifically said to NOT interact via browser, but instead from unigui app on the server which can communicate using any protocol and port with other servers. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 24, 2016 Author Share Posted July 24, 2016 Got it, let's see if you can understand me. How do I communicate with a balance of weight, a printer COM port, LTP, POS, in a client station? The server does not have access to such equipment, which are installed on the client station. My need is just to communicate with the client station, preferably via the browser / unigui aplication. As yet encontrie a response to this, the solution I'm finding is developing a HPP server that is the client stations, which uses time being the user accessing the client in the browser, send requests (intranet) to the HTTP server on the client for it to process the task. I have no different idea, but accepted practical examples. Quote Link to comment Share on other sites More sharing options...
zilav Posted July 24, 2016 Share Posted July 24, 2016 It took only 15 posts in a thread before you mentioned that hardware is installed on a client machine(s) and not on another server. In that case what you want is impossible from within web application and unigui is not the right tool for your task. A traditional client-server application is required. ps. Unless you can configure all hardware on all your client machines to be connected to a single server which can issue commands. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted July 24, 2016 Author Share Posted July 24, 2016 You too use the word impossible. Impossible is something that does not exist. For everything there is a solution. https://qz.io/ Quote Link to comment Share on other sites More sharing options...
ZigZig Posted July 24, 2016 Share Posted July 24, 2016 Your "solution" was based on Java plugin, which is no longer supported by Chrome, Firefox, Safari and MS Edge. According to https://qz.io/support/, it needs now a desktop application to be installed on every desktop/client computer : We currently use demo.qz.io, which works with both QZ-Tray(Desktop app) and QZ-Print(Java Applet). The applet is blocked in Chrome now, so QZ-Tray will be our NPAPI-free solution moving forward. So Zilav is totally right: it is impossible with only uniGUI, you'll need to install something more on every client computer, to make your wish possible. Zilav is considering that you can do this "something more" by yourself, you seems to prefer an expensive "out-of-the-box" solution. That is your choice. Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted July 25, 2016 Share Posted July 25, 2016 What is wrong with solution in post #10? Or what didn't you understand? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.