Jump to content

Hayri ASLAN

Moderators
  • Posts

    1577
  • Joined

  • Last visited

  • Days Won

    134

Posts posted by Hayri ASLAN

  1. On 7/4/2022 at 7:10 AM, O.E said:

    Tekrar Merhabalar,

    Nasıl çözeceğimi bulamadım.

    Nerede yanlış yapıyorum.😒

    Merhaba

    Test case olmadigi surece maalesef havanda su doveriz. 

  2. 6 hours ago, İbrahim TELCİ said:

    Servera Clientdataset koydum. Dediğinizi denedim. Ama oturumlar aynı anda erişmeye çalıştığında ilk açılışta çakışma oluyor. Bu problemi nasıl çözebilirim aynı anda yazıp silebilecek paralel bir yapıya ihtiyacım var gibi duruyor.

    Clientdataset yerine direk veritabanina yazmanizi oneririm. 

  3. 1 hour ago, İbrahim TELCİ said:

    Merhabalar;

    Yazdığım projede aktif olan tüm oturumların listesini "UniServerModule.SessionManager.Sessions" ile alıyorum. Oturumları her seferinde tarayıp ilgili olan oturumlarda bir değişkene değer gönderiyorum. Yalnız bu listeyi sürekli taramak zorunda kalıyorum (2 saniyede bir). Sürekli olarak session.locK ve session.unlock yapmış oluyorum. Bu pek tavsiye edilen bir yöntem değil. Ortalama aktif 300 oturumum var.

    Bunu daha farklı nasıl yapabilirim. Bir tablo yada array içinde oturum bağlandığında kendisini eklese yok olduğunda kendisini silse gibi birşey.

    Tavsiyeleriniz nedir?

    Merhaba

    Mainmodule oncreate te session kaydedip onbrowserclose da silebilirsiniz

  4. On 6/24/2022 at 4:59 PM, O.E said:

    Merhabalar,

    Web teknolojileri konusunda tecrübem yok. Web teknolojilerinde bir çok işlemin olamayacağını sınırlarının neler olduğunu az çok biliyorum. 
    Projeyi Unigui ile çözebilir miyim veya farklı bir çözüm mü bulmalıyım bilemiyorum/araştırıyorum.

    Demo sürümü ile geçen sene bir kaç deneme yaptım/yapamadım.
    Son bir aydır tekrar başladım, iyi ilerlediğimi düşünüyorum. ama 

    Sormak istediğim bir kaç soru olacak.

    PageControl içerisinde Forma açıyoruz. 
    Açılan formda 2 adet edit içerisine seçim ekranı (Form2) ile veri aktarmam gerekiyor. Beceremedim. Form1 yeniden Create ediliyor ve oradaki editlere veri aktarılıyor. modal açılan form2 kapanmıyor. 

    ve DBGrid içerisinde hücreler arası hesaplama işlemi yapılabilir mi. 

    Şimdiden teşekkür ederim.

     

    Merhaba

    Yaptiginiz ornek uygulayi atar misin nerede hata yaptiginiza bakalim

  5. On 6/26/2022 at 5:23 AM, markokas said:

    Hi all,

    How to change active map layer with code, using uniButton.

    Thank you for help.

    Br, Marko

     

    26-06-2022 11-13-44.png

    Hello

    You can use the below code.

    UniSession.AddJS('$(".leaflet-control-layers-selector")[4].click()');

     

    • Like 1
  6. 4 hours ago, pro_imaj said:

    Hi,

    To distribute a project made in Unigui, we have to install Unigui_Complete_runtime.exe on the relevant computer, is there a way to install unigui related files in our own project without this installation?
    In this way, instead of installing unigui for each project separately, I want to have the unigui files installed in the project file.

    Unigui does not make us install Sencha separately in its own distribution, the necessary files come in unigui, you can think of it that way.

    Hello

    http://unigui.com/doc/online_help/index.html?silent-installation-of-runtime.htm

    or

    http://unigui.com/doc/online_help/index.html?unigui-runtime-package.htm

    • Like 1
  7. 4 hours ago, irigsoft said:

    Hello,

    I don't use mobile components, but I work on mobile devices.

    I use unigui Professional 1537, (but this problem also exists in version 1526).

    my problem is:

    1. I create the columns in DBgrid at runtime, each reload of the query to DBGrid recreates the columns.

    2. On a mobile device, to show the result (running AdoQuery + creating all columns (visible and invisible) + creating a summary), I use a device with 2 GB of RAM, Android and mobile Chrome

    3. To optimize rendering, I use DisableControls, SuspendLayouts when creating columns and running Query,

    4. I limited the page size to 25, DBGrid is Paged and the result in Query is limited to the page size in the results.

    5. In grid I have column with image, and other column with action button. Image size is 32 from ImageList. When image is missing work better, maybe image optimization I need ?

    5. The server has 3GHz, 4GB RAM, Win10, SSD, Windows Defender is Active

    6. My application in production is protected by Virtualization and Mutation. When I use it none protected speed is with 1 second faster.

    7. Unigui Application is StandAlone

    8. I can't use javascript XTemplates

    The time to display all lines is 2-3 seconds, I will ask for assistance in speeding up this visualization with some javascript commands.
    Thanks in advance !

    Hello

    Are you using OnFieldImage event or OnFieldImageURL event?

  8. Can you replace below code in uniwebcam.pas, line 140

     

      UniSession.AddJS('navigator.mediaDevices.getUserMedia({ audio: true, video: true }).then(function(stream) {'+
                       'if (typeof navigator.mediaDevices.enumerateDevices != "undefined") { '+
                       '     navigator.mediaDevices.enumerateDevices() '+
                       '         .then(function(devices) { '+
                       '             var cameras = devices.filter(function(device) { '+
                       '                 return device.kind === "videoinput"; '+
                       '             }); '+
                       '             var uniguiCameras = {}; '+
                       '             uniguiCameras.count = cameras.length; '+
                       '             cameras.forEach(function(camera, i) { '+
                       '                 uniguiCameras["label" + i] = camera.label; '+
                       '                 uniguiCameras["deviceId" + i] = camera.deviceId; '+
                       '             }); '+
                       '             ajaxRequest('+JSName+', "cameras", uniguiCameras); '+
                       '         }); '+
                       ' } }))');

     

  9. 1 hour ago, Darlan said:
    I'm starting the tests with Unigui, I have a Cloud Server with Windows Server 2016 with IIS, how do I leave it running there, for now I don't use a bank, it would just be a test to see if I can access it through the browse externally.
    In this case I use which project:
    - Standalone Server
    - Windows Service Application
    - Standalone Server / ISAPI Module
    - ISAPI Module
    
    Do you have any documentation on this?

    Hello

    http://unigui.com/resources/online-documentation/developer-manual

  10. On 5/21/2022 at 1:01 AM, irigsoft said:

    Hello,

    I try to make some limitations on Content-length of body on my StandAlone application.

    I read : https://stackoverflow.com/questions/2773396/whats-the-content-length-field-in-http-header#:~:text=The Content-Length header is,the start-line and headers.

    and this https://www.jmarshall.com/easy/http/

    and try to set on TUniServerModule.RespInfoCustomHeaders

    Content-Length: 20000, but I am getting this when try to load my app on Google

     sent an invalid response.

    ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH
     
    When I try to configure TUniServerModule.UniGUIServerModuleHTTPCommand
    AResponseInfo.ContentLength: = 20000, then my application shows the basic form, but freezes without error
     
    So , what I am wrong ?

    Hello

    What is the purpose of using different content-length?

    What are you trying to achieve?

  11. 4 hours ago, Yang91 said:

    Hi

     

    I try to create a Unimap component on my form

    map:=TUniMap.Create(self);
    with map do
      begin
        top:=673;left:=21;height:=500;width:=650;
        Name:='ClientMap';
        DefaultZoom:=6;
        Visible:=true;
        Parent:=uniContainerPanel5;
        with MapLayers.Add do
          begin
           LayerType:=mlGoogle;
          end;
      end;

     

    But when map tries to display, I have the following error :

     L.gridLayer.googleMutant is not a function
    
    var O433_uniLayersObject={};O433_uniMapmarker=L.layerGroup();O433_uniMappolyline=......

     

     

    What am I doing wrong ?

    2022-05-18_10-39-43.png

    I will analyze it.

  12. 19 hours ago, Yang91 said:

    Good afternoon all,

    I'm new with uniGui.

    I try to build a simple first project with a uniDBGrid and few uniDBEdit. My table is about 300 records.

    When I start my app, the datas displays fine on the grid.

    If i try a table.filter, everything run smooth and only the selected records are displayed on the grid.

    When I delete the filter (or change it to a larger result set), it tooks a while for the grid to display datas (when it can) and, very frequently, I have a Connection Error Communication Failure 0

    Any idea ?

    Hello

    Can you create a test case?

    Which dataset are you using?

  13. On 4/19/2022 at 11:00 PM, Wilton Ergon said:

    modo hiperservidor 2

    meu hiperservidor começou a gerar erros ao tentar fazer upload de uma nova versão da minha aplicação, já reiniciei meus servidores, nenhum erro é exibido no log..

    isso acontece em todos os nós

    image.thumb.png.27472bcf3fbe391b267c8c16dca33dd2.png

     

    image.png.cc1ba85f92d7f80f8f881244f520a68f.png

     

    Hello

    IIS has a limit for the size of the files users can upload to an application. If the file size exceeds the limit, the application will throw “Error in HTTP request, received HTTP status 413 (Request Entity Too Large)” error.

    Please check below solution

    https://port135.com/http-status-413-request-entity-too-large/

  14. 2 hours ago, suleymankose said:

    Hayir anlamiyorum anlasilmayacak ne var global bir sirkette yazilim muhendisi olarak calisiyorum ustlerime projeyi unigui ile devam edelim diyorum demo indiiryorum bir hatayla karsilasiyorum sonra gidiyorum adamin kendi resmi sitesindeki live demoya giriyorum ayni hata ordada var foruma yaziyorum adam israrla hala hangi verisyon kullaniyon diyor sen live demonda hangi versiyon kullaniyosun senin live demon bile arizali diyorum yahu. Sen hangi versiyon kullandin sitendeki demonda ??????

    Hello

    We fixed this issue in build 1560. Our demo was still running on 1559 and we updated it now. 

    Unfortunately we can not guess which demo are you getting the error unless you give us clear direction.

    Thank you for trying UniGUI.

×
×
  • Create New...