programmatically open a form and enter some values

N

Nadine

Hello everybody,

here's my problem: I want to fill out form A and open another Form B
through code. As the user would have to fill out some fields (like
name, department...) two times I am trying to do this automatically.
I was able to open a second form by clicking a button (I used the
NewFromSolution Method) and I was able to fill out some fields by using
two times the same form (with the NewFromSolutionWithData Method). But
I was not able to fill out some fields of a different form.

Can anybody help me?

Thanks in advance
 
J

junglesnake

In the past, I have filled out forms programatically by just
manipulating the xml of the form directly. I load the form into a DOM
Document and update the elements that I need to and save the DOM
Document.
Shary
 
N

Nadine

Do you happen to have an example- code in vb.net? That would be very
helpful.

Thanks a lot
Nadine
 

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