Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
On Error GoTo tt Dim zz As String = "" For Each File As String In IO.Directory.GetFiles(Application.StartupPath + "\Data\MasterFuze\") Dim settings As New XmlReaderSettings settings.ValidationType = ValidationType.Schema settings.Schemas.Add(XmlSchema.Read(New XmlTextReader(Application.StartupPath + "\Data\MasterFiles\" & IO.Path.GetFileNameWithoutExtension(File) & ".xsd"), AddressOf ValidationHandler)) Dim reader As XmlReader = XmlReader.Create(File, settings) zz = File Dim doc As New XmlDocument() doc.Load(reader) Next MsgBox("Master Files Validated") Exit Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.