How to use View.SelectText(arg1,arg2) ?

D

DotNetter

I am not able to use thisXDocument.View.SelectText(myNode,arg2) because
VB.NET asks me that arg2 must also be supplied and it requires it to be
a varViewContext Object. What is this object and how do i get one to
make this method work?

myNode is a IXMLDOMNode object defined as:
Dim myNode As IXMLDOMNode
myNode =
thisXDocument.DOM.selectSingleNode("//my:appMaintenance/my:projectGroup/my:LocationTransport")

I am using VB.NET to program in Infopath 2003 SP1.

Your help is needed and appreciated.
Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top