Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > submit a form


Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2012, 01:49 PM
yossi321 yossi321 is offline
Newcomer
 
Join Date: Sep 2009
Posts: 21
Default submit a form


I am tryin to submit a form
http://www.classifiedsgiant.com/login.html
Code:
  wb.Document.getElementsByname("username").item(0).Value = username
  wb.Document.getElementsByname("password").item(0).Value = password
 I try :
  wb.Document.getElementsByname("login").item(0).Click
and this:
  wb.Document.Forms(0).submit
but nothing
the form is filling but does not submit
any idea?
Reply With Quote
  #2  
Old 06-10-2012, 03:42 PM
Gruff's Avatar
Gruff Gruff is offline
Bald Mountain Survivor

Super Moderator
* Expert *
 
Join Date: Aug 2003
Location: Oregon, USA
Posts: 5,877
Default

Trying to automate a web site login is hit or miss as many sites protect themselves against this very thing. Some sites change their login pages periodically to keep this from happening, Some allow auto login though your browser.

One of their fears is a bot attack.

We do not offer help for certain topics layed out in our Posting Guidelines.
__________________
Burn the land and boil the sea
You can't take the sky from me


~T
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->