Jump to content

thecrgrt

Members
  • Posts

    201
  • Joined

  • Last visited

  • Days Won

    2

thecrgrt last won the day on October 13 2013

thecrgrt had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    Bangkok, Thailand

Contact Methods

  • Yahoo
    thecrgrt@yahoo.com
  • Skype
    thecrgrt@gmail.com

thecrgrt's Achievements

Advanced Member

Advanced Member (4/4)

2

Reputation

  1. And, How many your current servers were ran on 32-bit environment?
  2. AFAIK, uniGUI is a web-based application framework development. Do you need to develop your web-app run on Windows XP server? That's nonsense for me more than performance or .exe size.
  3. Those methods were for desktop mode, not a web. you need to remember this is a framework for dual UI mode. UniGUI is a fresh one, it's not a mature framework yet. This is its first step so you need to manage some action your-self. By the way, your question is a good idea. By a "Asynchronous" nature it is possible that every UniGUI component's methods can parallel send and receive ajax-request itself, but that needs more design and take more time to implement. Implement more web UI supported by ExtJS should be the first priority, IMO.
  4. Hi HecJonatan, For me an installer is work fine and also built for all packages. So,You can workaround with two choices: 1. Manually add "C:\Program Files\FMSoft\Framework" and related sub-directories into Delph Library Path. 2. Create Windows registry's String-Key under "HKEY_CURRENT_USER\Software\Embarcadero\BDS\10.0\Environment Variables" with named "fmsoft" and assign its value to "C:\Program Files\FMSoft\Framework"
  5. Thanks for your info. BTW, as Dmytro Lendel said, the price for XE3 is not published. Maybe, it's a good step for Delphi price (cheaper, like an iPhone 4S series price) ...maybe
  6. Sorry for my curiosity, Is this a true news? Can anybody confirm? Every posts for this story were referenced to http://bbs.2ccc.com/topic.asp?topicid=410504 Who is the writer of this message?
  7. If your file was reside in files folder remove / in front of "/files/markermanager.js", it should be "files/markermanager.js".
  8. This is an example to apply FastReport to UniGUI framework. To prevent dialogs showing at server you should be set the following properties of TfrxReport EngineOptions.SilentMode = True EngineOptions.NewSilentMode = simSilent and for TfrxPDFExport ShowDialog = False ShowProgress = False OverwritePrompt = False Example define the following components frxRepData: TfrxReport; frxPDFExport: TfrxPDFExport PrintURLFrame: TUniURLFrame; Code: var _LFile: String; begin ... // The following 5 lines below could be set at design time frxRepData.EngineOptions.SilentMode := True; frxRepData.EngineOptions.NewSilentMode := simSilent; frxPDFExport.ShowDialog := False; frxPDFExport.ShowProgress := False; frxPDFExport.OverwritePrompt := False; frxRepData.DataSet := cdsMiscDataSet; if (cdsMiscDataSet.Active) then cdsMiscDataSet.Close(); cdsMiscDataSet.CommandText := 'SELECT * FROM XXX_DATA'; frxReport.LoadFromFile(UniServerModule.FilesFolderPath + 'some_report.fr3', False); cdsMiscDataSet.Open(); if (not cdsMiscDataSet.IsEmpty) then begin // pass True to clear a previous generated report. // If you need to merge a variant of reports set it to False frxReport.PrepareReport(True); _LFile := 'payment_' + FormatDateTime('hhmmss.zzz', Now()) + '.pdf'; frxPDFExport.FileName := _LFile; frxPDFExport.DefaultPath := UniServerModule.LocalCachePath; try frxReport.Export(frxPDFExport); PrintURLFrame.URL := UniServerModule.LocalCacheURL + _LFile + '#'; except ShowMessage('Error, Can not generate printing documents to PDF format.'); end; end else ShowMessage('There are no pages to generated printing.'); end The above example write on the fly at the post time, sorry if there are some error.
  9. If you are using Adobe Reader, I recommended to reinstall an application.
  10. For load balancing(maybe, just distributed load), I hope FastCGI was supported by UniGUI to do that.
  11. AFAIK, LiveBinding was supported for all VCL/FMX controls automatically by Delphi XE2, vice versa UniGUI was also supported LiveBinding.
  12. Happy new year, and have a nice year for all.
  13. Try the following code: procedure TfrmPrintForm.PrintReport(); begin frxPDFExport.FileName := 'ReportXXX_' + FormatDateTime('hhmmss.zzz', Now()) + '.pdf'; // Create a unique name for report. frxPDFExport.DefaultPath := UniServerModule.LocalCachePath; // Export Path; frxReport.PrepareReport(); // Create Report frxReport.Export(frxPDFExport); // Export Report rptURLFrame.URL := UniServerModule.LocalCacheURL + frxPDFExport.FileName; // Displayed on UniURLFrame end;
  14. Try to refresh your browser cache by pressing F5 key, and/or try to check the extjs 3.4.0 could be loaded from your server.
  15. IMPO, the better ways is make DB connection out of process from your web-app, you just only created middle-tiered for this sensenario.
×
×
  • Create New...