Hi,
I have a DataSet,
and would like to step trough all the rows in one of the tables and delete them if an If clause returens true.
I tried:
For Each row In getFreeZimmerList.Tables(0).Rows
If getBelegungList(row.Item("ZimmerID").ToString, vonDate, bisDate).Tables(0).Rows.Count > 0...
I was going to,
but I had to code my Idea first. Here it is:
getoldestBackup = Date()
For each Folder in objRootFolder.SubFolders
If getoldestBackup < cdate(Folder.Name) then
getoldestBackup = cdate(Folder.Name)
End If
next
once it's done I'll have the date of the oldest Backup...
I know that I can not sort the contents of FSO. But I was hoping some one had a trick on how to do this.
I thought of putting them into a db, but I would prefer not to do that.
I found a code on how to do it in VB 6.
But I can't figure out how to create a new collection in Vb script...
Hi, I have a Folder Collection.
The name of the folders is the date they where created.
How can I sort the collection, so that the oldest folder is first and so on?
Or if that is not possible how can I get the name of the oldest folder?
Thanks for any reply
Johannes
Thanks
for your help.
I found out that the only way to solve my problem is to have the isp set the default code page to german.
because it occurs in all different parts of my code, and rewriteing it will take to long.
thank again
Hi I have some asp code that used to be on a german win nt server. now it is on an english server. The problem is that all dates read from my database are now in the wrong format.
because in german you write a date day.month.year and in english its month/day/year iis thier a way how I can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.