Please can someone upgrade this code from VB6 to VB 2005 as the upgrade wizard fails?
Dim Mload As Folder, RepFile As File, NewFile As String, MloadDirectory As Files
Dim FSO As FileSystemObject
Private Sub form_Load()
Set FSO = New FileSystemObject
Set Mload = FSO.GetFolder("C:\temp")
Set MloadDirectory = Mload.Files
For Each RepFile In MloadDirectory