How VB sends the contents of its listbox to the listbox of another program

Updated on technology 2024-03-18
8 answers
  1. Anonymous users2024-02-06

    A practical clipboard is all it takes.

  2. Anonymous users2024-02-05

    Pull two listbox controls and one button control in the form, and then double-click the button control to copy the following ** to the cursor position;

    dim a as stringa =

  3. Anonymous users2024-02-04

    for i = 0 to - 1

    next, which moves the list item from listbox1 to another listbox2, which is using the for loop; Fetch all the list items in the first listbox1 and load them all into another listbox2

  4. Anonymous users2024-02-03

    All moved from list2 to list1

    dim i as integer

    for i = - 1 to 0 step -1'This loop should be counted down in a way or it will be out of bounds.

    0'Add to index 0 so that the order is consistent after the move

    nextMove one item from list1 to list2

    if >= 0 then'First, check if there is an end if item is selected

  5. Anonymous users2024-02-02

    The program test is perfect, hehe, if you are satisfied, please adopt it in time, if you need annotations, please ask private sub command1 click()if <>0 and = 1 then(

    end if

    end sub

    private sub command2_click()for i = 0 to - 1

    next i

    end sub

    private sub command3_click()if <>0 and = 1 then(

    end if

    end sub

    private sub command4_click()for i = 0 to - 1

    next i

    end sub

    private sub form_load()"1"

    end sub

  6. Anonymous users2024-02-01

    It is better to teach a man to fish than to teach him to fish.

    DIY: Create another list2 and write in command1 click() (provided you set the multiselect of list1 to 2).

    private sub command1_click()for i = 0 to - 1

    if then

    next i

  7. Anonymous users2024-01-31

    Assuming that the text box is in form1 and the list box is in form2, then the following ** is placed in form2:

    private sub list1_click()dim s as string, i as integerfor i = 0 to - 1

    if then

    if s <>"" then s = s & ","

    s = s &

    end if

    next send sub

    The following ** is placed in form1:

    private sub command1_click() 'After the first text box.

    Dedicated + button genus.

    set obj = text1

    end sub

    private sub command2_click() '+ button behind the second text box.

    set obj = text2

    end sub

    The following ** is placed in the public module file:

    public obj as object

  8. Anonymous users2024-01-30

    Use the listbox click event to write the event content.

    if "1" then

    a,b,c"

    end if

    The other one is similar to write.

Related questions
22 answers2024-03-18

1. If you have a little economic foundation, travel more, walk around, and see more. People's righteousness is naturally cultivated, because you can integrate into real life2, and if possible, walk among the migrant workers, who are a strong group of 1.2 billion farmers. You can understand the plight of the 1.2 billion peasants who are disadvantaged, and the 100 million who are really strong in China. >>>More

5 answers2024-03-18

Relax and read more positive articles. Improve self-cultivation and knowledge! Improve leadership skills, keep promises, and do what you do! >>>More

37 answers2024-03-18

1. Prepare some orange leaves, and fry a few orange leaves to drink as soon as they get angry, which can relieve gas. >>>More

8 answers2024-03-18

Find the dantian. Sink your breath.

10 answers2024-03-18

Yes, I agree that "clear water out of hibiscus, natural carving". However, it is still important for girls to dress appropriately. Don't feel inferior, you are 1.72 meters, what a good figure, and the weight is appropriate. >>>More