Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,824 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,014 people online right now. Registration is fast and FREE... Join Now!




How Do I Make It Login to a Website?

 
Reply to this topicStart new topic

How Do I Make It Login to a Website?

koolazngy94
12 Aug, 2008 - 01:21 PM
Post #1

New D.I.C Head
*

Joined: 29 Jul, 2008
Posts: 22

For EX: I login neopets, myspace, ...etc, How do i let it log in?

CODE
Private Sub Command1_Click()
If Command1.Caption = "Click To Start" Then
        Command1.Caption = "Start"
        Text1.Enabled = True
        Text2.Enabled = True
        Timer1.Enabled = False
    Else
    
    If Command1.Caption = "Start" Then
        Command1.Caption = "Stop"
        Text1.Enabled = False
        Text2.Enabled = False
        Timer1.Enabled = True
    Else
        Command1.Caption = "Start"
        Text1.Enabled = True
        Text2.Enabled = True
        Timer1.Enabled = False
    
    End If
    End If
End Sub

Private Sub Credit_Click(Index As Integer)
MsgBox "Credit goes to koolazngy94@yahoo.com"
End Sub

Private Sub Exit_Click(Index As Integer)
End
End Sub

Private Sub Form_Load()

End Sub

Private Sub Helpi_Click(Index As Integer)
MsgBox "Click on ""Click To Start"" then enter your username and your password and click start!"
End Sub

Private Sub Label3_Click()

End Sub

Private Sub Label4_Click()

End Sub

Private Sub Label6_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Text2_Change()

End Sub

Private Sub Timer1_Timer()
Label6.Caption = Val(Label6.Caption) + 1
End Sub

User is offlineProfile CardPM
+Quote Post

cmount
RE: How Do I Make It Login To A Website?
14 Aug, 2008 - 09:20 AM
Post #2

New D.I.C Head
*

Joined: 1 Aug, 2008
Posts: 41



Thanked: 1 times
My Contributions
QUOTE(koolazngy94 @ 12 Aug, 2008 - 02:21 PM) *

For EX: I login neopets, myspace, ...etc, How do i let it log in?

CODE
Private Sub Command1_Click()
If Command1.Caption = "Click To Start" Then
        Command1.Caption = "Start"
        Text1.Enabled = True
        Text2.Enabled = True
        Timer1.Enabled = False
    Else
    
    If Command1.Caption = "Start" Then
        Command1.Caption = "Stop"
        Text1.Enabled = False
        Text2.Enabled = False
        Timer1.Enabled = True
    Else
        Command1.Caption = "Start"
        Text1.Enabled = True
        Text2.Enabled = True
        Timer1.Enabled = False
    
    End If
    End If
End Sub

Private Sub Credit_Click(Index As Integer)
MsgBox "Credit goes to koolazngy94@yahoo.com"
End Sub

Private Sub Exit_Click(Index As Integer)
End
End Sub

Private Sub Form_Load()

End Sub

Private Sub Helpi_Click(Index As Integer)
MsgBox "Click on ""Click To Start"" then enter your username and your password and click start!"
End Sub

Private Sub Label3_Click()

End Sub

Private Sub Label4_Click()

End Sub

Private Sub Label6_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Text2_Change()

End Sub

Private Sub Timer1_Timer()
Label6.Caption = Val(Label6.Caption) + 1
End Sub



I think I see a problem with your code right now...Your msgbox code:

MsgBox "Click on ""Click To Start"" then enter your username and your password and click start!"

I don't know how you're supposed to utilize quotation marks INSIDE a msgbox (I'm sure it can be done)---but you can't do what you're doing. I'll explain:
here's what it's seeing:

Whenever it sees a quotation mark, it assumes it's the starting & ending point of blocks of text. It doesn't know how to handle quotation marks like that
It thinks: OK I'll print "click on" ...then it sees another quotation mark...but it expects you to have an & between each thing, and it isn't seeing the & sign before the next quote, so it's freaking out.

If you had the & signs, it would just think "click on Click to Start then enter your username and your password & click start!"

I'm not sure about the rest though

Anyone else?
User is offlineProfile CardPM
+Quote Post

koolazngy94
RE: How Do I Make It Login To A Website?
14 Aug, 2008 - 11:03 AM
Post #3

New D.I.C Head
*

Joined: 29 Jul, 2008
Posts: 22

so how am i gonna do this?
User is offlineProfile CardPM
+Quote Post

Zhalix
RE: How Do I Make It Login To A Website?
14 Aug, 2008 - 12:17 PM
Post #4

D.I.C Head
**

Joined: 7 May, 2008
Posts: 218



Thanked: 9 times
My Contributions
If you wanna display quotes within a string, doing as you were is just fine. You just use two quotes instead of one to tell VB that what you're doing is a literal quotation mark. It's fine so leave it as it is.

As for your question, you seem to be asking for the code to login to various websites. Well, there is some preparation work required for that and since I'm not exactly sure if that's what you want, please post again with exactly what you're doing, and what you can't figure out.
User is offlineProfile CardPM
+Quote Post

koolazngy94
RE: How Do I Make It Login To A Website?
26 Aug, 2008 - 07:32 PM
Post #5

New D.I.C Head
*

Joined: 29 Jul, 2008
Posts: 22

like i want to make a program to log into myspace with out actually going on to the site. like make a myspace poker hack. but to play poker you need to login. how do i make the login information from my program go into the login boxes in the website?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 03:13PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month