Here is my code:
Private Sub Command1_Click() EmptyRecycleBin Form_Load End Sub Private Sub Form_Load() Dim bin_size As Variant Dim num_items As Variant Dim kb As Single QueryRecycleBin , bin_size, num_items kb = bin_size / 1024 lblSize.Caption = Format$(bin_size) & _ " (" & Format(kb, "0.0") & " KB)" lblNumItems.Caption = Format$(num_items) End Sub
This code is in vb6, I would like to make this code in VB.NET but I don't know how.. could anyone please TRANSLATE this code for me from vb6 into VB.NET?
basically what this code does it: "shows the size of the recycle bin", "shows the number of items in the recycle bin", and "deletes the items in the recycle bin"
Thank you for your help ;p