Jump to content

FastCards

uniGUI Subscriber
  • Posts

    82
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by FastCards

  1. Hi Gringo, Like you I came to UniGUI via years as a Win32 programmer. I knew SQL but nothing about any web development languages. I realised that Win32 programming alone was dead and that I had to move my skills online. Tried Delphi Prism, C#, Delphi IntraWeb and got to the point of seriously considering giving it all up. IntraWeb had some promise but struck me as an unfinished product that could disappear at any time. I came across UniGUI by chance a couple of years ago. My advice to you is to stick with it and run the demos. Take them apart, try small changes and see what happens. FMSoft have built a truly great framework; now I have a major system built in Delphi XE3 + UniGUI running on a dedicated server for a big client and it rocks!. Test system runs on a small virtual server with only 1Gb RAM .It's a single DLL running under IIS 7.5. To be honest, going from scratch to running speed with IIS is a nightmare. Took me about a month of shouting and swearing at Microsoft to get it working. This link helps: http://chee-yang.blogspot.co.uk/2009/10/configure-windows-7-iis7-for-isapi-dll.html I still don't know much about Javascript or any other web stuff. 99% of my code is Delphi plus the odd bit of javascript that I've found online or on this forum. As you get to know UniGUI you'll come across things that are different to win32 programming. Dialogs, Modal Windows, Callbacks etc. These can be frustrating but once you get your head round them you'll be fine. You'll do things wrong and break things but you'll learn. You'll find out the subtle differences with different browsers. You'll learn about sessions and resources and error handling. Re your original post: my advice is to use the demos. Don't bother to learn anything else, you can survive without JavaScript or can steal/beg/borrow if needed. You also said "Back/Forward buttons in the browser? If push them application terminating": Back/Forward buttons don't work with UniGUI. Someone who knows more about stateful/stateless stuff can tell you exactly why but all you've got to know is that they don't work and accept that. Go to UniMainModule and set property BackButtonAction to bbWarnUser. I got round this with my clients by saying that what they were getting was a Web App and not a Website. Make out that back/forward buttons are yesterday's technology. There's no doubt that UniGUI has given my career (self-employed programmer since 1991) a new lease of life. You should stick with it and ask for help on this forum when you get stuck. Good luck Andy.
  2. Thanks for the tip Farshad, I didn't even consider running the EXE on the server, will do next time.... I learnt a lot whilst trying to track the problem down using tools from sysinternals.
  3. All fixed, temp file was a red herring. Problem was caused by missing DLL files msvcr100 and msvcp100. Lesson learned: check event viewer logs thoroughly!!
  4. The file C:\Windows\TEMP\en0.tmp which is created when the DLL is first loaded by IIS turns out to be what looks like a freeimage DLL? Confused..
  5. Old version was 0.95 New version is 0.99
  6. We have a simple app running on IIS 7.5 under Win Server 2008. Single DLL. Has worked fine for months. Tried to install new version with some added features (which worked fine on development and test servers) When first called, it crashes IIS. Debug Diag shows that the dll (RRV2) is trying to create a temp file en0.tmp and this seems to be the cause. Any pointers or suggestions gladly received. (Old DLL was 9Mb, new one is 11Mb, could that have anything to do with it) [25/07/2015 21:15:34] \\?\D:\Websites\RRV\rrv2.dll loaded at 0x03b90000 C:\Windows\TEMP\en0.tmp loaded at 0x10000000 [25/07/2015 21:15:35] C:\Windows\TEMP\en0.tmp Unloaded from 0x10000000 Exception 0X0EEDFADE on thread 1484. DetailID = 1 [25/07/2015 21:15:36]
  7. My $0.02 worth: UniGUI is best suited to web apps that "do" things: control SQL data, do complex calcs, integrate with Excel. If you take an old-school Windows-only business app with a SQL database behind it, I would say that is perfect for conversion to UniGUI. You'll need to learn a bit about IIS or Apache and do a few things slightly differently (interface design, modal windows, callbacks, sessions etc) but it works beautifully. If you want to build a web site, just like every other website with links to Facebook, google ads, forums etc, then I don't think UniGUI is the best solution.
  8. +1 for FlexCel. No need for Excel installation, works great with xlsx and xls.
  9. ... can I just say that TMS's FlexCel product (which is not free) is an absolute joy to use. Great documentation, no problems with old format Excel files or the newer XLSX ones. Easy cell formatting. Works really well when running a UniGUI DLL under IIS. No need for Excel to be installed.
  10. Thanks Semper. All sorted now, thanks.
  11. Is there a property which controls the display of ServerModule.LoadingMessage when loading a new frame? In the UniGUI mega demo, each time you click an option in the treeview you get the small "Loading..." box displayed. I can't get this to work in my app. Thanks Andy.
  12. I tried IntraWeb for a while and got some stuff working but it was all a bit of a guddle. Different versions of IW + Delphi caused problems and the people at IW didn't really fill me with confidence. Confusing licensing model, too. UniGUI, on the other hand, has proven to be simpler to master and more robust. Drawbacks to UniGUI? - Lack of documentation - Still in beta, purchased licence not yet available.
  13. Farshad, Thanks for the update. A jump to v1.0 and a release candidate version sounds like a good plan. Keep up the good work
  14. Greetings, UniGui-ers Been using UniGUI for approx 7 months now. All I can say, Mr Mohajeri, is "Wow". I've been a (windows-only) Delphi programmer since v1 in the mid 90s and UniGUI is an absolute godsend to convert my skills to the age of the Internet. I could start building and selling software starting tomorrow using Uni + Sencha. However, I would be much happier if I had a commercial (paid-for) licence for UniGUI as opposed to a free (and pretty stable, thank you) beta version. I have written commercial software before and I know from first hand experience that it always takes longer than you think. Do you have any idea when a commercial licence will be available? Thanks, FM, for all your efforts so far and to everyone else on here for working towards a releasable, commercial version. Andy
  15. It's a great product and I would gladly pay $1,000 for UniGUI+ExtJS. Farshad cannot be expected to work for $0 forever and the sooner UniGUI becomes a paid-for product the better.
  16. Set AutoCoInitialize=True and hacked about with the connection string until this one worked using Windows Authentication data source=.\SQLEXPRESS;Integrated Security=SSPI; Now connected! Thanks Farshad for your swift response.
  17. Hi Farshad, There is nothing in the log files. THe screen message (which pops up after 15 seconds) says "Ajax Error" with the text "Server unavailable, please try later" and a large red cross.
  18. Using the (wonderful) UniGUI I can compile the same code into an exe and a dll just by changing one line in the project source. So, I upload both to my virtual private server. Windows exe runs fine and connects to SQL Server on the VPS using this connection string: Provider=SQLOLEDB;Initial Catalog=ISSYS_Live;Data Source=(local)\SQLEXPRESS;User Id=XXXXX; Password=YYYYYY;Integrated Security=SSPI; I then install the DLL as ISAPI under IIS 7 and run under Firefox. The program works fine but the SQL connection fails. I am missing something here. Is it: - Something I have to configure in IIS 7 - Something in SQL Server - Something in Windows firewall? Thanks Andy
×
×
  • Create New...