Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

error when implementing "IXMLDOMNode" from MSXML2

$
0
0

Dear all,

in VBA I've been creating a new class implementing "IXMLDOMNode" from MSXML2. The result of genarating the Property "get" and "let" functions für "dataType" is the following:

Private Property Let IXMLDOMNode_dataType(ByVal RHS As String)

End Property

Private Property Get IXMLDOMNode_dataType() As Variant

End Property

As shown, the type is not the same for both: "variant" respectively "string". At the end "variant" is correct, I've checked in objectcatalog.  This code cannot be compiled of course and changing "string" to "variant" leads to another error: "The type is not the same as in a function with the same Name".

I currently don't see a solution, any suggestions?

Jürgen

 

Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>