i use a object filelistbox and dirlistbox in my form.
i want to use a result of a filelistbox and dirlistbox in two different forms or in a menue.
i found out, that the variable filelistbox or dirlistbox is only available in one form and when i select the other form with the menu i can not select the filelistbox or dirlistbox of the first form.
but i will use the Contents of the two objects from the menu of the other form.
i tried to create a new filelistbox and dirlistbox with a public variable in a common module, like:
public filelistb as filelistbox
but i don't know how i can use this object.
i hope somebody can understand what i mean and can help me here