<?xml version="1.0" encoding="utf-8" ?> <configuration> ... <appSettings> ... <add key="XSDSchemaPath" value="c:\file.xsd" /> ... </appSettings> ... </configuration>(where "..." denotes other parts of the file).
xmlschcolImportXML.Add("http://www.tempuri.org/dsfile.xsd", New XmlTextReader(ConfigurationSettings.AppSettings("XSDSchemaPath")))For more information about custom configuration settings, see following topic in VS .NET help: ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpgenref/html/gngrfappsettingselement.htm.
xmlschcolImportXML.Add("http://www.tempuri.org/dsfile.xsd", New XmlTextReader("c:\file.xsd"))
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...