Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8595543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:27:38+00:00 2026-06-12T00:27:38+00:00

This is login page: http://ts14.travian.com.sa/nachrichten.php I want the program to post the username and

  • 0

This is login page: http://ts14.travian.com.sa/nachrichten.php

I want the program to post the username and pass word form a text box and my simple poor browser:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            webBrowser1.Navigate(textBox1.Text);
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            webBrowser1.Navigate("http://ts14.travian.com.sa");
            textBox1.Text = "متصفح خاص بترافيان";
        }

        private void button5_Click(object sender, EventArgs e)
        {
            webBrowser1.GoBack();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            webBrowser1.GoForward();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            webBrowser1.Navigate(label1.Text);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            webBrowser1.Refresh();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void button6_Click(object sender, EventArgs e)
        {
            webBrowser1.Navigate("http://ts14.travian.com.sa/logout.php");
        }

        private void button7_Click(object sender, EventArgs e)
        {
            webBrowser1.Navigate(textBox2.Text);

        }

        private void closeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void tabPage2_Click(object sender, EventArgs e)
        {

        }
    }
}

What do I have to do to make the browser login to the game?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:27:39+00:00Added an answer on June 12, 2026 at 12:27 am

    thx man i found a way to do it by detect the HtmlelementId then change its value
    like this

    {

                     HtmlElement ele = webBrowser1.Document.GetElementById("usernameID"); if (ele != null)
                ele.InnerText = "username"; 
    
            ele = webBrowser1.Document.GetElementById("passwordID"); if (ele != null)
                ele.InnerText = "password";
    
            ele = webBrowser1.Document.GetElementById("goButtonID"); if (ele != null)
                ele.InvokeMember("click");
    

    }
    it worked ok

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on this test page: http://www.problemio.com/test.php If you click the login link,
If I have this page in http://example.com/login with GET verb: <form action=https://example.com/login method=post> <input
I have this login.xhtml JSF page: <?xml version=1.0?> <jsp:root version=2.0 xmlns:jsp=http://java.sun.com/JSP/Page xmlns:f=http://java.sun.com/jsf/core xmlns:h=http://java.sun.com/jsf/html> <jsp:directive.page
I want to create a PHP file with $_GET[] function like this: http://mywebsite.com/account.php?register ->
This is my page URL http://sample.com/mytest.php In this page, if we click a Sign
I am working off this test page: http://www.comehike.com/test_fb_connect.php When the user logs in using
I did a login form with this link http://wplift.com/how-to-create-a-custom-login-page-for-your-wordpress-theme When I login it redirects
Can anyone see anything wrong with this login script: public function login($username, $pass, $remember)
Possible Duplicate: How secure is a HTTP POST? Suppose I have a login page
I want to redirect http://olddomain.com to http://newdomain.com for my all urls..keeping the page on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.