Sumbit A WeBrowser Form


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Sumbit A WeBrowser Form

  1. #1
    Join Date
    May 2008
    Posts
    1

    Sumbit A WeBrowser Form

    web Page source is as
    Code:
    <td colspan=4 align=center><INPUT TYPE='hidden' name='login' value='wohooo000.username_lol'><INPUT TYPE='hidden' name='FormName' value=''><INPUT TYPE='hidden' name='reg_local' value='0'><INPUT TYPE='hidden' name='LPID' value='5'><INPUT TYPE='hidden' name='PPID' value='23'><INPUT TYPE="button" value="Go to Inbox" style="font-weight:bold;" onclick="javascript: SubmitExtraDetails();"></td>
    it also includes a java script that i have attached !!

    i just want 2 submit the form........... the only problem is java script that included

    none of the below command worked
    Code:
    On Error Resume Next
    Web.Document.Forms(0).Item("PPID").Click
    Web.Document.Forms(0).Item("Go to Inbox").Click
    Web.Document.Forms(0).Item("LPID").Click
    Web.Document.Forms(0).Item("reg_local").Click
    Web.Document.Forms(0).Item("FormName").Click
    Web.Document.Forms(0).Item("login").Click
    thnx for help every 1 !!
    Attached Files Attached Files

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    There is no <form> element in your HTML, so Document.Forms(0) will return an error. Try removing On Error Resume Next and see what error you're getting.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Pseudocode Problem
    By zobi316 in forum VB Classic
    Replies: 3
    Last Post: 03-10-2008, 08:05 AM
  2. Replies: 0
    Last Post: 01-17-2007, 11:38 PM
  3. Replies: 3
    Last Post: 08-09-2005, 01:59 PM
  4. Replies: 0
    Last Post: 04-11-2002, 07:48 PM
  5. Losing control on SetParented form.
    By Mark Alexander Bertenshaw in forum VB Classic
    Replies: 0
    Last Post: 03-16-2000, 01:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center