How do I pass data to a remote system that has diplayed a web form on my pc.
The form was
enter the to date, and
sellect an item from a drop down menu, then click a button named submitt.
I am a beginer so be gentle.
Thanks in advance,
What you describe may vary from possible to nightmarish.
Every request to a web server follows a certain form, with a URL followed by a
bunch of parameters.
So you can figure out what a particular combination of check boxes, form data,
etc. actually sends to a server, and just send it yourself from an application.
This is the technique I used in my "stock quote" server in my book "Developing
ActiveX Components with Visual Basic 6", where I figured out what parameters
certain stock reporting web pages used, and faked out the server by sending the
To do this you'll need to learn a bit more HTML, especially the use of the GET
and POST methods, and reading form code to figure out what the server needs to
Where this can fall apart is if the server is using cookies or other tracking
mechansims. You can mimic those as well, but it's a lot trickier.
Now, another approach is to actually automate what the browser does. On this I
am also a beginner - I know that IE has powerful automation capabilities from
within the page, but am not sure how much flexibility you have at automating it
You might check out Carl Franklin's book "Visual Basic 6.0 Internet Programming"
for a good introduction to doing Internet programming directly from VB. I found
it to be quite accessible to beginners (which is what I was when I read the
previous edition for the first time).
Best of luck
> How do I pass data to a remote system that has diplayed a web form on my pc.
> The form was
> enter the to date, and
> sellect an item from a drop down menu, then click a button named submitt.
> I am a beginer so be gentle.
> Thanks in advance,
> How do I pass data to a remote system that has=20
> displayed a Web form on my PC?
Jerry: See the article "Post Form Data Without a Browser," in the =
1999 issue of VBPJ:=20
Last Post: 05-27-2008, 11:17 AM
By deke in forum VB Classic
Last Post: 03-29-2002, 04:12 AM
By kamisetty in forum XML
Last Post: 02-08-2002, 10:14 AM
By MarkWilliamson in forum VB Classic
Last Post: 01-26-2001, 11:30 AM
By skrobism in forum VB Classic
Last Post: 01-23-2001, 10:44 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL