473,508 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

automate web submission with VB.net?

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
Nov 21 '05 #1
1 1241
"Katallask" <Ka*******@discussions.microsoft.com> wrote in message
news:D7**********************************@microsof t.com...
| 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
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
10533
by: mparisi | last post by:
I have a responsibility within my testing department to automate the submission of data on 4 sequential asp pages. Here's the tasks: 1. Sign in 2. Enter form data and submit 3. Enter more...
1
2054
by: morau99 | last post by:
I want to create a "phrase of the day" post to an online language forum I participate in. I would like to automate this process so that I can randomly pull out of a big table a phrase and easily...
6
11863
by: Oleg Konovalov | last post by:
Hi, I have a Java/JavaScript GUI application where I perform a lot of long DB operations , which takes 5-60 secs to perform. Sometimes user double-clicks the button or just gets impatient and...
8
1837
by: Oleg Konovalov | last post by:
Hi, I have a Java/JavaScript GUI application where I perform a lot of long DB operations , which takes 5-60 secs to perform. Sometimes user double-clicks the button or just gets impatient and...
5
7327
by: dmorand | last post by:
I'm having a strange issue with a form I'm developing. I'm saving some values to hidden fields when a user clicks a button. I setup a function which gets ran on submission of the form, but I also...
0
7115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5047
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1547
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.