473,382 Members | 1,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Detect textbox's on a web page...

jamesd0142
469 256MB
Hi what i want to do is basically what google autofill does when visiting a web page...

I imaging it...
finds anytext boxe's on the web page when the page loads...and highlights them...

What i'm looking to do is find the same textbox's on a page, so i can create a little program to auto log me into a webpage when i visit it.

How can this be done in vb.net?
Or
Does anyone know what windows api function if any could be used here?

Thanks

James
Feb 25 '08 #1
3 1270
jeffstl
432 Expert 256MB
In order to place values into text boxes on a web page you will need to know either the cookie's they access and create to do this and manipulate those locally in code.

Or if the website has the capability built into it you can do auto-form submission by creating an exact path that duplicates submitting that form (as if you actually went to the site, filled it out, and hit the button). When you do this a path is formed cancatonating all the string values from that form into an URL.

Build out that same URL in your code, but just replace the strings with whatever you like.

This is in fact how some people have taken advantage of guestbooks, and visitor logs and such by spamming them with macros that run this kind of scheme. In other words, good luck finding top notch website that still allows this kind of access.
Feb 28 '08 #2
jamesd0142
469 256MB
This is in fact how some people have taken advantage of guestbooks, and visitor logs and such by spamming them with macros that run this kind of scheme. In other words, good luck finding top notch website that still allows this kind of access.
Well believe it or not my intentions are innocent, If this is the case then how does the google toolbar do it...?
Feb 29 '08 #3
jeffstl
432 Expert 256MB
Google probably does it with cookie's stored on your local PC. Im not entirely sure actually.

Im sure your intentions are not bad. I wasn't suggesting they were.

I was just pointing out that the kind of login automation your referring to is not going to be available on most sites, especially financial data or sites that use
captcha.

http://en.wikipedia.org/wiki/Captcha
Mar 3 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: WhiteRavenEye | last post by:
How can I detect if object with specific index exists? E.g. I load text box and give it random index number between 0 and 5. Now I have to set some text in textbox so I need to detect it but I...
0
by: selowan | last post by:
Hi, In VB6 Pro SP5, I have a form that contains an MSFlexGrid and a few other textboxes and comboboxes. I am using the technique from MSDN article Q241355, which describes how to tab and edit in...
3
by: Tee | last post by:
Hi, I have few textboxes and combobox in a user control. How can I detect if a user has changed the value of combobox and the text in textbox? I know that textbox has a CanUndo property that...
3
by: ton | last post by:
How can I detect that the user has modified the data on the page where several textboxes, checkboxes and dropdownlist exist. Ton
1
by: Leonardo Santos-Macias | last post by:
I have an asp.net textbox with some EULA and a button to accept the EULA. The textbox will have scrollbars since the EULA is several pages. Is there any way using asp.net, vbscript or jave to...
2
by: eBob.com | last post by:
I've got the basics of an XML ini file working. I.E. I can stash away and retrieve user preferences. (Code below.) But how do I handle a new preference? Say I have A and B. And then I invent...
2
by: Rich | last post by:
Hello, I need to trap/detect when a textbox is entered via the tabkey. If the textbox is not empty when entered via the tabkey then set focus to next textbox. To enter that textbox would then...
10
by: Barry L. Camp | last post by:
Hi all... hope someone can help out. Not a unique situation, but my search for a solution has not yielded what I need yet. I'm trying to come up with a regular expression for a...
2
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I have a tab control and in one tab page I have 8 textbox and 2 grids. The textbox are all numerics and have the following behavior: when I digit the 2nd textbox then the 3rd textbox is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.