
December 8th, 2003, 08:17 PM
|
|
Registered User
|
|
Join Date: Dec 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
how can I get this to work
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
Last edited by phase1 : December 9th, 2003 at 11:56 AM.
|