Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Vb6] Logging Into A Account

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Golden Wing
Grandmaster Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 905

PostPosted: Sat Jan 31, 2009 7:07 pm    Post subject: [Vb6] Logging Into A Account Reply with quote

How do i log into a account on a website though VB6?

Example:
I have a user name and password text box then when i enter my information it logs me into the site from vb6.
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Sun Feb 01, 2009 4:51 am    Post subject: Reply with quote

why does everyone think vb6 is the answer to everything else?

ever tried php? its quite easy

create a login form with html, and then the submit button will send the username and pass

Code:
<form method="post" action="processlogin.php">
<table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr>
            <td>
              <div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="-1">Login
                :</font></div>
            </td>
            <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="-1">
              <input type="text" name="formlogin" size="15">
              </font></td>
          </tr>
          <tr>
            <td>
              <div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="-1">Password
                :</font></div>
            </td>
            <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="-1">
              <input type="password" name="formpassword" size="15">
              </font></td>
          </tr>
        </table>
<input type="submit" name="Submit" value="Login">


So when you input your username and password and press submit, it sends the info to the page you specify at the top of the form.

the page that grabs the username and pass will store the two inputs as variables

$_GET['formlogin'];
$_GET['formpassword'];


Tell me something, are you actually planning to write a website in vb6??? Shocked
Back to top
View user's profile Send private message
Odecey
Master Cheater
Reputation: 1

Joined: 19 Apr 2007
Posts: 259
Location: Scandinavia

PostPosted: Sun Feb 01, 2009 5:17 am    Post subject: Reply with quote

I know that this isn't in VB6, but considering there are VB->C# translators out there I thought it might be of some use anyway: C# Automatic login.
_________________
Never confuse activity with productivity. You can be busy without a purpose, but what's the point?- Rick Warren
Back to top
View user's profile Send private message MSN Messenger
Uli
Cheater
Reputation: 0

Joined: 08 Mar 2008
Posts: 37

PostPosted: Sun Feb 01, 2009 9:05 am    Post subject: Reply with quote

hopefully this should work:

Code:
Dim strHTML As String

strHTML = Wrapper.PostWrapper("login.website.com/login.php", "username=" & Username.Text & "&password=" & Password.Text & "&frob=&token=&redirect=http%3A%2F%2Fwww.website.com%2F&chap=", "http://www.website.com")


obviously add in the website you want etc
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat Feb 07, 2009 6:09 pm    Post subject: Reply with quote

Build a loginstring as said before or try to find the id of the controls and use getelementbyid to modify the value.
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites