Martin Liss
I have tried the code that you posted in your linked thread but I still have a problem.
When I run the following line of code:
I get the following error:VB Code:
oxmlSchema.Add "", strSchemaFile
I know my schema is valid because it validates here.Code:Incorrect definition for the root element in schema.
There is one difference I should mention, I had to define my schema object as: MSXML2.XMLSchemaCache30
This is because I get the following run time error when I attempt to instantiate an object of type: MSXML2.XMLSchemaCache40:
Any thoughts?Code:Unable to create ActiveX object





Reply With Quote