Jump to content

haentschman

Members
  • Content Count

    216
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by haentschman


  1. Hi...:classic_cool:

    Quote

    I've seen it in multiple places on the internet

    ...sometimes the internet is not correct. :classic_tongue: The styleguide from Emba is correct! https://docwiki.embarcadero.com/RADStudio/Sydney/en/Delphi’s_Object_Pascal_Style_Guide

    Quote

    your formatting is not consistent

    +1

     

    better:

    (indent)

    if condition then
    begin
      code;
    end
    else 
      if otherCondition then
      begin
        more code;
      end;
      
    //or:
    
    if condition then
    begin
      code;
    end
    else 
    begin
      if otherCondition then
      begin
        more code;
      end;
    end;

     


  2. Hi...:classic_cool:

     

    I am trying to connect to our new ADS server for the first time. (Third party software, access data with read rights available). On another VM the Advantage Data Architect is running with the same access data. Share on the Database folder available.

    ...it does not want me.
    "...cannot authenticate the user..." :classic_unsure:

     

    What is missing?

     

    Thanks.

     

    PS: On my machine the Advanced Data Architect is also working...:classic_blink:

     

    Crosspost: german DP https://www.delphipraxis.net/213554-zugriff-auf-ads-server.html#post1525731

    FD.png


  3. Hi...:classic_cool:

    How about source code? Complete project?

    What is the mainform? Don´t free the mainform! :classic_huh:

     


  4. Hi :classic_cool:

     

    I don't use the studio yet. I was only interested in the principle of whether this is possible at all. :classic_rolleyes:
    I have an Outlook mail with which the images are embedded via copy/pase. These have NO file name. I would like to save only the marked picture, which is no file, by drop into a folder. To do this, the "metadata" of the image would have to be converted to PNG or JPG...and get a filename. The normal way is...save the image over context menu. I want it over Drag without temporary file. :classic_cool:

    Outlook -> MyApplication

     

    Thanks...

    Menu.PNG


  5. Hi...:classic_cool:

    I need a "Like" in the filter list. With %Value% it works. But users don't understand that. I want to have: on entering "Bla" result from the dataset 'MyBla', 'BlaBlubb'.

    At DevExpress there is this entry:
    https://supportcenter.devexpress.com...-or-like-value
    created 15 years ago...with further links. All are imho not purposeful. ...Endless loop from link to link.:classic_unsure:

     

    I have felt through all filter settings.

     

    Does anyone have any ideas.

     

    Thank you.

     

    Version: 21.2.9

     

    CrossPost: germanDP https://www.delphipraxis.net/212875-devexpress-filterrow-ohne-wildcard.html#post1521131

     


  6. Hi...:classic_cool:

    Quote

    But in this company..... every programmer does whatever it wants (function that have 2000 lines of code, as strings are named s, k or i, etc)

    :classic_blink: Sorry, but it is not the right company. That's where the developers get in their own way. Uniform styles are important to understand all "developers" and their code. The management must set the standard!

    Try to talk to the others about a simple standard (prefixes for components, meaningful variable names, begin/end styles - separate lines or not, CTRL+D for all...).

     

    What is the total number of lines of source code? Do you have a trainee for the implementation of the styleguide in the old code? :classic_tongue:

     

    no matter what you do...

    Quote

    But nothing will save you from a sloppy project manager! If the boss doesn't care, who needs that boss!

    ...that is the problem!

     

     

    another one... PDF 😉 ...great work! :classic_cheerleader:

     

    Manual_on_Object_Pascal_Style_Guide.pdf

    • Like 1
    • Thanks 1

  7. Hi...:classic_cool:

    Quote

    I don't think I could pass the exam

    ...really? :classic_tongue:

     

    There are two types of exam:

    Delphi Certified Developer: via online / browser ... i have  (exam time: ~1 hour)

    Delphi Master Certified Developer: ... Uwe has   (exam: i dont know time and where)

     

    https://www.embarcadero.com/resources/embarcadero-certification-center

    ...what you want?

     

    • Like 2
×