Private Sub BuildWebpages(strLangShort As String, mapLangFoundNatName As Map)
loc.Initialize(File.GetFileParent(txtDB.Text), "", strKeyLanguage, strLangShort)
If strLangShort=strKeyLanguage Then
Dim strOutFile As String = File.Combine(txtPubFolder.Text, "index.html")
Else
Dim strOutFile As String = File.Combine(txtPubFolder.Text, strLangShort & "/index.html")
If Not(File.Exists(strOutFile, "")) Then
ListView1.Items.Add("MakeDir--> " & strOutFile)
File.MakeDir(strOutFile, "")
End If
End If
ListView1.Items.Add(" Create--> " & strOutFile)
File.Delete(strOutFile, "")
Dim strToWrite As String = raGetWebpageIndex(strLangShort, mapLangFoundNatName)
File.WriteString(strOutFile, "", strToWrite)
End Sub