thamks, this helps me to upgrade my program, but does not solve my problem.
actually, i like to make a command which wil copy certain table (or any other file) and paste it on diferent location, rename it by curent date, and delete it if its some days old.
I'm not sure how I have failed to address your problem.
In both your first and your latest post, you indicated that you need to do three things:
Copy specific tables to a backup location
Rename the backup tables with a timestamp
Delete really old backup tables
The link article I gave you specifically deals with 1 and 2, which can be done at the same time. Further, the article is aimed at making a full copy --where it is not cross-linked between the old table and current data-- which is what a backup generally entails. The article deals with Paradox tables using Delphi.
To delete an old backup table, delete it just as you would any other table.
If I have misunderstood your problem please try to be more specific about exactly what it is that you are trying to do.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...