Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2004

Tip: Looking for answers? Try searching our database.

automate web submission with VB.net?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Katallask - 27 Oct 2004 21:33 GMT
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
steve - 28 Oct 2004 06:27 GMT
| 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.