xml is this:-
<FORM name="PolicySelect" enabled="true">
<COMMAND name="cmdUpload" enabled="true"/>
</FORM>
VB is this:-
'objControl is passed in and currently is a command button with the name of cmdUpload.
strControlName = objControl.Name
'get xml node for control
Set objNode = objXMLDom.selectSingleNode("*[@name=" & strControlName & "]")
after this is run objNode is equal to nothing.
<FORM name="PolicySelect" enabled="true">
<COMMAND name="cmdUpload" enabled="true"/>
</FORM>
VB is this:-
'objControl is passed in and currently is a command button with the name of cmdUpload.
strControlName = objControl.Name
'get xml node for control
Set objNode = objXMLDom.selectSingleNode("*[@name=" & strControlName & "]")
after this is run objNode is equal to nothing.