Delphi extracts the username

Updated on technology 2024-02-09
14 answers
  1. Anonymous users2024-02-05

    First of all, there is something wrong with the for loop.

    for i := 0 to - 1 door for i := - 1 downto 0 do and then if this question is a follow-up to the for loop question you asked earlier, use for i :

    0 to 1 do, only half of the data will be processed, and you will know what the problem is when you run it in a single step! Because you add and delete make the line that i points to inaccurate.

  2. Anonymous users2024-02-04

    Use strutils first

    And then. :=leftstr('Haoren is in the first year of junior high school',length('Haoren is in the first year of junior high school')-10);

  3. Anonymous users2024-02-03

    1. Use the API to get the username.

    2. Why use such a low-level method to start the manuscript? Wouldn't it be better to write the registry directly?

  4. Anonymous users2024-02-02

    With webbrowser cores then pure pants with this.

    If you use idhttp, you can learn from the upstairs to change the shed and use the regular expression.

    vari :integer;

    for i :=0 to - 1 do

    end;

  5. Anonymous users2024-02-01

    Use get to get the page ** and use regular expressions to get the URL in the page **

  6. Anonymous users2024-01-31

    Stealing numbers, right?

    Is it the version of QQ? In the past, it was good to install the keyboard hook record directly. The latter ones are not so easy to handle.

  7. Anonymous users2024-01-30

    That's how it should be.

    You want to determine whether the current form is a QQ form.

    Record keypad information. Then send it to mail.

    There's still nothing to study about this.

  8. Anonymous users2024-01-29

    This requires calling the API functions DeviceIoControl, CreateFile

    But there are some struct definitions that need to be used, and there is no hassle in delphi. You have to look it up on your own msdn and get these.

    The definition of the struct is written in Pascal syntax.

    It is recommended to write directly in C++Builder, so you don't have to thank yourself in the header file, give you an example.

  9. Anonymous users2024-01-28

    The usual way to get the path to other software is to read the registry (change Zen if the software has written to the registry), for QQ is the same, you can search for Tencent on the machine with QQ or try it, for example, there is a hkey local machine software on the even machine Microsoft Windows CurrentVersion shareddlls has a d: Tencent QQ Bin, of course, there are many other registries written to the QQ installation directory).

    After that, it's simple, go directly to read this location, how to read the registry needless to say.

  10. Anonymous users2024-01-27

    You can write an exe that calls an external file, shellexecute(handle,'open','Basal foci C: MyApp','sw_shownormal);

    extractfilepath(''

    Then put this exe into the qq installation directory (that is, the directory that exists. In this way, you can call that punch to play a file, isn't the method a bit stupid.

  11. Anonymous users2024-01-26

    The serial number should be required for installation.

    **I don't know which version you are pressing. If it's the more generic delphi7:

    ey7m-bk73a3-vj2dt8-jz7mcaz-xy3

    delphi6's words:

    z9j8-pum4n-c6gzq

    rw2-73w

    Try it out with the above.

  12. Anonymous users2024-01-25

    The first time take a value of 1,2.

    The second time takes the value of 2,3.

    .Take the value of n ,n+1 for the nth time.

    Suppose all records are stored in an array var arr:array[1..count] of string.

    var i:integer;

    var c1,c2:string;

    for i:=1 to count-1 dobegin

    c1:=arr[i];

    c2:=arr[i+1];

    showmessage(c1+c2);

    end;c1 c2 is the value taken

  13. Anonymous users2024-01-24

    Go through the table and take 2 at a time.

  14. Anonymous users2024-01-23

    Database, right?

    while not do

    begina:='').asstring;

    b:='').asstring;

    end;In this case, two records are retrieved from the database at a time.

    For specific usage, you can change it yourself".

Related questions
10 answers2024-02-09

a = "n c hundred du q49232 ah ah ah pp"

mid(trim(a), 9, 5) 'From the 9th character from left to right (spaces are also counted), count 5 characters you want. >>>More

12 answers2024-02-09

Executed in one data control.

alter table name alter column id counter (1, 1). >>>More

14 answers2024-02-09

After reading your **, let's explain the problem in your ** to you. >>>More

14 answers2024-02-09

function getsqlserverlist(strings:tstrings):boolean;

The function is implemented as follows: >>>More

17 answers2024-02-09

=if(or(--right(int(abs(a1-b1)),1)=),0,if(or(--right(int(abs(a1-b1)),1)=),1,2)) >>>More