Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
L

Little_Dice

@Little_Dice
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Navigate the web
    L Little_Dice

    Well I actually took a look at another guys source and it pulls up the web page in the program itself. So I just had to modify it. The only problem is there is no button (in the web site) after you input the username and password. The site uses the php post method. Like www.site.net/login.php?user=Myusername&password=mypassword. But they have mypassword encrypted. So right now i'm trying to find away to either have the web browser click the button (but not seeing one in the source code) I think I will have to go with a way to manually click it.

    C# csharp html help question

  • Navigate the web
    L Little_Dice

    Alright I finnally got everything working except the button. To my knowledge i don't see the button in the source code. It just says

    Did you get my email? -- modified at 2:20 Tuesday 29th May, 2007

    C# csharp html help question

  • Navigate the web
    L Little_Dice

    So how would you go about selecting certain boxes. Like username and password, and then click a button.

    Login

    Username:

    Password:

    C# csharp html help question

  • Login Program
    L Little_Dice

    Hi Ever since I read an article about test animation I have been trying to build a program to run and log me in to some of the many sites I check daily. However I have run into a few problems i can not get around. The site I read the article at is (http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/) 1. when I have ie.DocumentComplete.WaitOne(); in the code i get the error The event 'SHDocVw.DWebBrowserEvents2_Event.DocumentComplete' can only appear on the left hand side of += or -= I don't understand why I am getting this error because it worked in the example 2. When debugging after i get to HTMLDocument doc = (HTMLDocument)ie.Document; in the cmd window i get this error Unable to cast COM object of type 'System._ComObject' to interface type 'mshtml.HTMLDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F55F-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: No such interface supported >. internetExplorer ie = null; Process p = Process.Start("iexplore.exe", "site using php login"); InternetExplorer ie = // code to find correct IE HTMLDocument doc = (HTMLDocument)ie.Document; Console.WriteLine("Setting Text Box 1 to 'UserName'"); HTMLInputElement textBox = (HTMLInputElement)theDoc.getElementsByName("username"); textBox.value = "Bla"; Thanks for all the help

    C# help php com tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups