automate web submission with VB.net?

G

Guest

We have a third party web site we use to send XML files from our database
through, is there a way I can have our VB.NET app pull up the website, paste
the XML into the textbox and submit it and then close the website?

Thanks!
Daniel
 
S

steve

| We have a third party web site we use to send XML files from our database
| through, is there a way I can have our VB.NET app pull up the website,
paste
| the XML into the textbox and submit it and then close the website?

i'd avoid the kludge of using a browser in an "automated" solution. you can
post data directly to the website using the httpwebrequest/httpwebresponse
classes in .net. you'd also probably need the httputility to encode the xml
before posting it (this depends though). anyway, those are the keywords for
you to lookup either in help or google. it only takes about 10 lines of code
to cleanly handle the post and response and there are plenty of examples on
the net.

hth,

steve
 

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