Article
Problem:
A customer used the Novell ActiveX controls to modify attributes.
All was working well until they tried to modify attributes with a "SYN_PATH" syntax, in their case it was a DirXML_Association attribute that they needed to edit.
In some cases, when the attribute value contained commas (","), the ActiveX control would reject the change and return "Run-time error '13': Type Mismatch"
Solution:
Since the control uses the comma as delimiter in the structured attribute, it probably is lost when trying to tell what element needs to go where.
The solution may be to set the individual structure fields explicitly - see
http://developer.novell.com/documentation/activex_ndap/ocx_ndap/ref/nwdir/nwpath_object.htm
Something like:
Dim myAssociation as New NWPath myAssociation.VolumeName = "NDS:\\TEST\test\services\DriverSet3-5\SQL" myAssociation.Path = "USERID=542,table=USERS,schema=DBO" myAssociation.NameSpaceType = 1 entry.SetFieldValue "dirxml-associations", myAssociation
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 4192 reads


0