Hey All-
Code Example :
Private Sub TreeView1_BeforeLabelEdit(Cancel As Integer)
Dim Animals As Node
With TreeView1.Nodes
Set ndAnimals = .Add(, , , "Animals")
.Add ndAnimals, tvwChild, , "Dogs"
End With
*******
Scenario :
Ok then say, the User checks "dogs" from the TreeView Checkbox and several other files.
They then wish to remove these files by clicking a command button (cmdApply) which will execute the code for the checked items 'only' found in the TreeView Checkbox.
*******
Problem :
- Does each item in the TreeView Checkbox require this line of code Environ$("SYSTEMDRIVE")) to define it path or location
- Is Environ$("SYSTEMDRIVE")) with the precise file name : example: Environ$("SYSTEMDRIVE\Dogs")) a sufficient enough path to the file which the user wishes to delete.
TIA
Code Example :
Private Sub TreeView1_BeforeLabelEdit(Cancel As Integer)
Dim Animals As Node
With TreeView1.Nodes
Set ndAnimals = .Add(, , , "Animals")
.Add ndAnimals, tvwChild, , "Dogs"
End With
*******
Scenario :
Ok then say, the User checks "dogs" from the TreeView Checkbox and several other files.
They then wish to remove these files by clicking a command button (cmdApply) which will execute the code for the checked items 'only' found in the TreeView Checkbox.
*******
Problem :
- Does each item in the TreeView Checkbox require this line of code Environ$("SYSTEMDRIVE")) to define it path or location
- Is Environ$("SYSTEMDRIVE")) with the precise file name : example: Environ$("SYSTEMDRIVE\Dogs")) a sufficient enough path to the file which the user wishes to delete.
TIA
