Jump to content

Bennie Coetzer

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Bennie Coetzer

  1. What is the difference between a free form and an application form? It appears that a form's create is called when it is requested to be shown. Can the create be executed without it being shown? It seems there is a new version of uniGUI. Will it run on XE3? Is it necessary to upgrade? Is there some documentation regarding the actual operation of uniGUI. I struggle to make sense of the logic and would rather not delve into the source code.
  2. I can't be sure exactly what happens but a form that is supposed to show the content of the database record plus images from the record is not visible, but it does not crash. This leads me to believe that the form is there but not showing. When running from the local host or the IDE there is no problem. With regards to the OnCreate, there is nowhere that I create the form so I assume uniGui creates it at some point. Maybe I should rather create it myself when needed. I will investigate the demo Dynamic
  3. Hi I have an app that accesses a Firebird database to display data and images. When running under the IDE or locally via the browser (Port 8077) it works fine. When I run it on a local LAN via Apache it rns and accesses the data but does not open the form which contains the images. Can you please explain how forms are created in uniGui as it appears that the onCreate event is execute when the form is shown (at least in the IDE version). Understanding this may assist in finding the form under Apache. Also, can one create a uniGui form on the fly, as needed? Regards
  4. I struggle a bit to get my application deployed on another machine. (Amazon EC2) I installed "fmsoft_unigui_extjs_0.93.0.996_setup.exe" (Was this necessary or could I only copy the ext files?) on the other machine as well as my dll, set up Apache and the DB Server - the exe works fine on the other machine. When running the dll from a browser it just does nothing and I think the problem is with the location of the Ext JS files. From your help it appears that I should leave the ExtRoot field blank and then put all the files that are in C:\Program Files\FMSoft\Framework\uniGUI\ext in a folder by my application. Should this be a folder called myApplicationfolder\FMSoft\Framework\uniGUI\ext or myApplicationfolder\ext Also I don't have an ext folder, only a ext-4.1.1a Is this the same and will the app pick it up? Last question, which files in ext-4.1.1a should I deploy and which can I leave? The files required for an installation, are these the ones in the folder ext-4.1.1a and could I just set my ExtRoot field to point to this folder? Please help - I am almost there.
  5. Hi Gerhard I am not sure which error log you are referring to. The application starts successfully but as soon as a connection to the DBs is attempted, it hangs. After a long while it comes back with Ajax error, the server is unavailable, try again later I use 32 bit Delphi with Firebird 2.5 and Apache 2.4. For the database connections I use the Interbase/Firebird components from Devart. What is weird is that both the exe and the standalone server version run perfectly, just the dll seems to hang up. Thanks
  6. Hi, I have created a uniGUI application which works fine (ie connecting to a database) when working from Delphi GUI both with and without the Standalone server. However, as soon as I deploy it (both on a LAN or remote server) it seems to miss the DB server ( I get an Ajax error). It did work for a while but for some reason stopped and I don't know how to trace it. Any suggestions on how to trace such an error? Regards
  7. Hi I have registered with Amazon EC2 but feel quite intimidated. I assume I have to use an AMI but which of the +1700 is the best for an Apache server, uniGUI application and Firebird database all running ion Windows. How does one select the right one. Also must I provide an Operating system for this deployment or is that part of the AMI? If there is any advice specific to uniGUI and my requirements that would be useful as omst advice appears to be for UNIX, etc.
  8. Hi I am very new at this hosting business. I have built a uniGUI application which is based on a Firebird Database which I can run successfully on an Apache Server across a LAN. I now wish to make this available over the Internet so I require a hosting service. Firstly I would like to experiment on a free service if that is possible. How do I determine if they will run an Apache Server and configure it to my alias where my dll will reside. I assume any web server can be cofigured for this. How do I get them to configure the server to run an ISAPI module How do I get them to run a Firebird server and how do I know the path to it to connect. The only alternative is to use my own hardware but in today's age that sounds stupid. Any suggestions
  9. When running on the desktop my application runs fine. However when running from the s/a server it seems not to show some forms (application forms) Is there a possible explanation for this. Also, closing a form does not work the same as in the desktop.
  10. When creating a new form or data module, what is the difference between an application form and a free form?
  11. Eureka - Website works from any computer on local network. Some questions: If I want this to run on a server on the web, what is involved. Does one contact a service provider that hosts a site and merely put your stuff in there in a particular folder with some sort of alias? Is access to the site always by naming the .dll? How is the local IPv4 address changed to become a world wide IP address?
  12. Do I need to set something else other than commenting out the $define UNIGUI_VCL as it only creates an .exe!
  13. OK, I am moving forward. So far I can create a Delphi application and run it using the uniGUI server through my browser. To complete my trial I now need to be able to run it remotely on another computer running Apache 2.4 web server. I have modified the https.conf file as shown in the documentation but when I run it locally I only run an html index file. I have the following questions I do not understand the alias command in httpd.conf - it sets some variable to a path. Is this the path to the isapi dll? How do I run that variable? How does it know which dll to run: is it part of the url? Does the path include the dll's name or just a path? Where does the Delphi compiler save the dll? - I cannot find it in the debug folder, is it somewhere else Hope you can help me over the last stumbling block - so far everything is starting to come together.
  14. Thanks - it was set to true - not sure why.
  15. Looks like it still is not easy. I am trying to create an environment where I can test on the desktop but for some reason fail to achieve this. It is clearly possible as your demos demonstrate this. I have created a new application with the app wizard but regardless of which project type I select it doesn't run on the desktop, only from the browser. Could this have something to do with the fact that I use a different project folder than the default? I see no difference in the basic code of my app and the dblookup_xe2 demo. Maybe there is a setting of a component that I am not aware of.
  16. Hi Farshad. I re-installed and everything (except FishFacts) seems OK. Maybe I missed a compilation. Thanks
  17. I am running Delphi XE3 and am busy playing with the demos. UniServerModule.AutoCoInitialize: Property does not exist UniMainModule.MonitoredKeys.Keys: Property does not exist in MemoEdit_2009_XE2,dproj Paint_XE2, etc. and some others FishFacts_XE2 this works but when I try to run it using the UniGUI webserver it stops at displaying 'Loading...' and won't continue Any suggestions or are there some installation files that I am missing. Regards
  18. Hi Variscan If I remove the first line it compiles but when running searches for a C:\FMApp\bin\UniISAPIServ.exe Any idea where that file should be found? I cannot find reference to it in any folder that I have Thanks
  19. Follow up While I am able to run a number of demo's from Chrome, Fishfacts won't run and stop at a 'Loading...' point. Is there any suggestion as to why this is the case. Fishfacts represents the basic capability that I want to build on so if I can get this running it will put me on the right track.
  20. Thanks Vanscan I am slowly getting going. After some playing around I realised that the app must be running locally for the browser to access the web server. So my understanding is that running the app also runs the web server which then allows the browser to access it - is this correct? If so, I would now like to verify the app running using Apache. How do I go about achieving this?
  21. At this point I am not even sure that my local webserver is running. According to some examples I should be able to run a script such as index.html via my browser through //localhost. On one computer which used to have Apache on it (but I uninstalled it) IIS reads a completely different html file (One with 'It Works' as content) but not my own even though the default path is set to my own path. On another computer which never had Apache trying to connect offers a web.config file error. I have no idea where to set this up. What I need is a step by step (which I actually had, but it did not work) to set up either IIS or Apache so that I have a local website that I can test on. Only then can I proceed to install uniGUI and see if I can move along there. As I said if a detailed description/tutorial is available to set up Apache or IIS (with tools to confirm that I got it right) I would be most grateful
  22. Basically I want a website based on a Delphi application. Some research indicated that uniGUI could be the way to go and that required Ext JS. From my skills set I would really prefer to do the development in Delphi as that would save a lot of time if this is possible.
  23. Hi I have embarked on trying to develop a stateful web application using Delphi and unigui. I am however struggling to get going as my knowledge of local webservers is letting me down. I have tried a number of examples on how to set up a local website in IIS and Apache but failed to get even the simplest site going, just executing a script file. The idea was to get Ext JS going first and then venture on to uniGUI. Do you have any detailed descriptions on how to install a local website. Even a good tutorial will help.
  24. Hi I have just learnt about this development after asking some suggestions on how to do a web application development. I am reasonably experienced with desktop application development and currently work in DelphiXE3 and Firemonkey. I have however never done a web application before and now wish to do so. The application is fundamentally a database with information and images and web users will log in to find appropriate data and images. Some presentation manipulation takes place but I will start with a simple app which must later be able to add smarter functionality. The application already exists in desktop format with the required functionality and I would like to use as much of current development as possible. 1. Is uniGUI the correct platform 2. How do I get started with a uniGUI development and what do I need 3. Can I get hold of a beta version to get a feel for the capability 4. When is the full release expected to see the light of day 5. Do you expect uniGUI to have a substantial following guaranteeing future development Kind regards Bennie
×
×
  • Create New...