Jump to content
uniGUI Discussion Forums

Abaksoft

uniGUI Subscriber
  • Content Count

    645
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by Abaksoft

  1. Abaksoft

    Printing directly

    Hello Friends, Sorry for this recurrent question. After many posts, from 2011 to 2018, i did'nt find THE SOLUTION to Print directly on a selected local printer. Classical Scenario : - Local network - Each PC has it default printer. - when a user click to print button, from his PC, the involve, Ticket, BarCode or simply A4 sheet must be printed on his local default printer directly without our classical UniHtml preview. Nobody has solution ? Thx.
  2. Abaksoft

    Ajax Double-Click on a TUniDBGrid

    Solved function celldblclick(sender, td, cellIndex, record, tr, rowIndex, e, eOpts) { grid=sender.grid; grid.showMask('Espere por favor...'); } Without ajaxRequest line. Thx
  3. Abaksoft

    Ajax Double-Click on a TUniDBGrid

    Hi Sherzod, Thank you for your precious help With this CLientEvent, it just see the mask, for 1 or 2 secondes. Is there a possibility to show the mask indefinitely (with this ajaxRequest ) ? I have a Frame with an UniDBGrid. When doubleClick On, it retreive somme data on a new ModalForm. The process take about 5 to 10 secondes and don't want the user double click again ! After ModalResult then HideMask. Thx ____ Edit : Don't want to use Unisession.Synchronize
  4. Abaksoft

    problem accessing page in mobile, using hyperserver

    No problem with : - Hyperserver - As Service - Hybrid application (Desktop / Mobile) - Delphi Tokyo 10.2.3 - Unigui Build 1480 Regards
  5. Abaksoft

    Browser promping save of Username, Passwords

    Now, focus exists in Build 1480. Thx to Sherzod http://forums.unigui.com/index.php?/topic/10041-google-chrome-autofill-incorrectly-fill-all-password-related-edits-on-different-forms-with-same-text/&do=findComment&comment=52280
  6. Good moorning Friends, Just wanted to advise. - ShellExecute works fine on VCL Desktop applications only. - ShellExecute does'nt work on a Windows Service ! Because of Windows Security (Session0, Session 1) introduced after Windows 7 use instead CreateProcessAsUser like this : procedure TMainForm.RunApp(cmdLine, WorkDir: String); var hToken: THandle; StartupInfo: TStartupInfo; ProcessInfo: TProcessInformation; res: boolean; begin GetStartupInfo(StartupInfo); if WTSQueryUserToken(WtsGetActiveConsoleSessionID, hToken) then begin { 1. For an application.exe (exemple : NotePad.exe) res := CreateProcessAsUser(hToken, PChar(Path_appName), PChar(cmdLine), nil, nil, False, CREATE_NEW_CONSOLE, nil, PChar(WorkDir), StartupInfo, ProcessInfo); } {2. For a DOS command line (Example FireBird : cmdLine:='gbak.exe -user sysdba -pas masterkey -b -nt "D:\Base.fdb" "D:\toto.fbk" '; WorkDir:='C:\Program Files\Firebird\Firebird_2_5\bin'; } res := CreateProcessAsUser(hToken, Nil, PChar('cmd.exe /C ' + cmdLine), nil, nil, True, CREATE_NO_WINDOW, nil, PChar(WorkDir), StartupInfo, ProcessInfo); if res then WaitForSingleObject(ProcessInfo.hProcess,INFINITE); end; end; That will save you much time Regards.
  7. Abaksoft

    A mini-guide

    Hi Farshad, I know you are very busy and i praye for you, but we really need a FAQ. Related Topic http://forums.unigui.com/index.php?/topic/2727-cant-we-create-a-best-practice-guide-for-unigui/?hl=practice A short summary will be very helpful : 1. What are the good practices 2. What avoid to do (for exemple declaring global variable having regard to client instances) 3. How do we take care in server side and client side 4. What is the difference between UniDataModule and ServerModule Etc... Regards.
  8. Dear Friends, Not related to Unigui. But wanted, maybe your expertise. I have just installed my Delphi Tokyo 10.2 update 3 Build 25.0.29899.2631 on my new Hard Disk, freshly formated with Windows 10 Pro / 64 (Official OEM Licence KEY). On a good machine : i3 processor 64 bit 8 GO RAM Result: it take 7 minutes to only lauche bds.exe !!! - No antivirus - Windows Defender disabled - FireWall disabled - UAC disabled - Bds.exe Security --> Full Control (all users) Oh… what happened ? Thx for advises...
  9. Abaksoft

    Delphi TOKYO VERY SLOW ON WINDOWS 10 ?

    Important : if you want an Elevate Administrator (Project > Options > Application > Manifest) : You have to Run your shortCut (batch File) as Administrator :
  10. Abaksoft

    How do I remove or hide panel borders?

    Hello as ClientMainForm.AlignmentControl := uniAlignmentClient I always use UniContainer Instead of UniPanel.
  11. Abaksoft

    Delphi TOKYO VERY SLOW ON WINDOWS 10 ?

    Solved bds.exe must be launch with only one CPU ! CPU Affinity CPU=0 Thx to Javorszky https://community.embarcadero.com/forum/installation-issues/1408-running-from-ide-freezes-windows-10#4173 Edit : To run quickly without entring TaskManager and change Setting CPUAffinity, just create a batch file on the desktop: cd "C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\" start /affinity 1 bds.exe Why ? "The reason for this is that most applications you run these days have been designed with multi-core processors in mind and will work with the operating system to distribute their operations as evenly as possible across all the available cores. " see : https://www.techrepublic.com/blog/windows-and-office/change-the-processor-affinity-setting-in-windows-7-to-gain-a-performance-edge/
  12. Abaksoft

    Delphi TOKYO VERY SLOW ON WINDOWS 10 ?

    Thank you friends, OK, but on my same machine, with Win 7 Pro 64 bits, Bds.exe launch as a Formula 1 ! On the web, I am looking for a solution, it seems a : windows 10 Bug ! https://stackoverflow.com/questions/45501655/rad-studio-takes-very-long-time-to-open Thx Let you know...
  13. Abaksoft

    Geniune windows DVD and Key

    Dear Friends, Just want to share with you my satisfaction. For the price of a pizza you have an authentic and official OEM key MICROSOFT windows 7 or 10. Sability, scalability garanteed. https://buywindowskey.co.uk With a great support. Best regards
  14. Abaksoft

    Geniune windows DVD and Key

    Thank you for your reply. Can you please show me, where did you see that mictosoft restriction ? I baught this OEM product: https://buywindowskey.co.uk/compare-products And works well in Algeria. I didn't see anywhere that restriction (even at microsoft) See this : "There’s nothing illegal about buying an OEM key, so long as it’s an official one. There are plenty of legitimate sites online that deal in this kind of software, Amazon has a number of sellers offering OEM keys, as does eBay, and more specialist sites like the aforementioned Kinguin." From : https://www.google.dz/amp/s/www.techadvisor.co.uk/feature/windows/windows-10-oem-or-retail-3665849/%3Famp Also, respectable sellers as Amazone, ebay don't mention any limitations. Better, on : - ebay mentioned : key available on Worlwide http://vi.raptor.ebaydesc.com/ws/eBayISAPI.dll?ViewItemDescV4&item=142946738362&category=11226&pm=1&ds=0&t=1537557608000&ver=0 - Kinguin it indicates clearly "REGION FREE". https://www.kinguin.net/category/19429/windows-10-professional-oem-key/
  15. Hi Farshad, Regarding threads, Nodes, load Balancing thechnologie, etc... Wich is the best system for hyperserver ? Are windows server editions mandatory ? or just a classical windows 7 Professional is enough ? Thx.
  16. Abaksoft

    UniGUI support, feedback in general and the future?

    Do you think that Farshad developed unigui only to get rich and thus close his code? No, i dont think so. In the last 10 years, it is clear from his work that he is a great personality, a virtuous and very honest man. I do not know him personally, but review the history of the vicissitudes experienced on this forum you will understand. No, it's someone who has his head on his shoulders and knows where he is going. he will never be able to leave you. he certainly has a plan B for the durability of this remarkable product.
  17. Abaksoft

    The best windows system for hyperServer ?

    Very clear Thx GerhardV
  18. Abaksoft

    Eid Adha mubarak

    اشتقنا احبائنا عيدكم مبروك
  19. Abaksoft

    Unigui "VOYAGER"????????

    Hello, betocatarino "VOYAGER" 1478 is just out of the oven. if you are an UniGui suscriber, you can download it from your portal support. if not, may be FMSoft will release a Trial version soon !?. In the meantime, you can have a look of the new technologie : http://www.unigui.com/doc/online_help/hyperserver.htm Regards
  20. Abaksoft

    Unigui is dead?

    betocatarino, "Don'nt worry, Be happy". You are welcome to the FANTASTIC UNAVOIDABLE DELPHI FRAMEWORK : U N I G U I And its great community. You're in luck, Next week, a new major release, called Unigui "VOYAGER" is announced. This will propulse our develppment out of solar system ! Have fun.
  21. Abaksoft

    Service can’t stop

    Hello allenchow, Try this (in attachment). Maybe it can HELP. Best Regards START_STOP.zip
  22. Abaksoft

    DELPHI News

    EMB introduce a new free Edition : "Delphi Community Edition" https://www.embarcadero.com/products/delphi/starter?utm_source=webinar&utm_medium=email&utm_content=Webinar-180724-DelphiC++BuilderCE
  23. Abaksoft

    R A S B E R R Y PI 3

    Hey guys, it gives ideas !
  24. Abaksoft

    A mini-guide

    Advice about Showmessage A simple thing which can save you much time ! Do not use VCL.Dialogs in your uses (if you are converting an old Project to Unigui), even if is tolerated. Use instead, UniguiDialogs. Why ? - Traditional VCL.dialogs gives you an No modal showmessage() - UniguiDialogs gives you a Modal showmessage() which is the correct behavior. You can detect the traditional VCL.dialogs when you obtain a white window dialog. UniguiDialogs gives a blue window dialog. Regards.
  25. Abaksoft

    "loading ..." in the browser.

    اخي socrat, Don'nt hesitate to ask your requests. Unigui is a fantastic framework and you will be quickly at your ease. All Uniguers in the forum will help you : They are simply virtuous. - You have many examples in MEGADEMO - Read the online doc : http://www.unigui.com/resources/online-documentation/developer-manual Have fun
×