infopath with vb.net

  • Thread starter Helpless New Guy
  • Start date
H

Helpless New Guy

Hi everyone,

I've just downloaded and installed the .NET toolkit for infopath. I was
just wondering if anyone know of any sample code out there for this?

and also,
I've created a form with a text area and a dropdownlist that fills data from
the database through a webservice, lets call it webservice1, I want to take
the selected value of the dropdownlist and pass that to another webservice
lets say webservice2, by using a button.

The problem is I can't figure out how to pass the value from the infopath
form to the vb form to pass to webservice2... which will eventually pass
back data to the infopath form to the text area..

Can any one offer any tips or suggestions please..

Thanks,
Kay
 
M

Matthew Blain \(Serriform\)

The key for getting data from your form into your code (or vice versa) is
that the XDocument.DOM is an (MSXML5) DOM, so you can use DOM methods like
selectSingleNode to get the associated node and read/write the value. You
can also use the DOM associated with the web service to set parameters.


--Matthew Blain
http://tips.serriform.com/
http://www.microsoft.com/MSPress/books/7128.asp (most samples in this book
are in Visual Basic .NET)
 
H

Helpless New Guy

Thanks Matt,

I will try it

Matthew Blain (Serriform) said:
The key for getting data from your form into your code (or vice versa) is
that the XDocument.DOM is an (MSXML5) DOM, so you can use DOM methods like
selectSingleNode to get the associated node and read/write the value. You
can also use the DOM associated with the web service to set parameters.


--Matthew Blain
http://tips.serriform.com/
http://www.microsoft.com/MSPress/books/7128.asp (most samples in this book
are in Visual Basic .NET)
 

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