Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 22:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



vb.net httprequest problem.

Discussion on vb.net httprequest problem. within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2012
Posts: 1,000
Received Thanks: 138
vb.net httprequest problem.

Hi, mein Quelltext:

PHP Code:
Option Strict On
Option Explicit On

Imports System
.Text
Imports System
.Threading
Imports System
.Text.RegularExpressions
Public Class Form1



    
Private Sub Button1_Click(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Button1.Click

        With 
New Http

            Dim html 
As String String.Empty

            
Dim username As String "XXX"
            
Dim password As String "XXX"
            
html = .GetResponse("http://www.elitepvpers.com/forum/login.php?do=login""vb_login_username=" username "&vb_login_password=" password "&cookieuser=1&s=&securitytoken=guest&do=login&vb_login_md5password=&vb_login_md5password_utf=")

            
html = .GetResponse("http://www.elitepvpers.com/forum/")

            If 
html.Contains("Log Out"Then
                MsgBox
("login")
            Else

            
End If



            
Dim title As String "XXX"
            
Dim content As String "XXX"
            
Dim cost As String "1XXX"


            
html = .GetResponse("http://www.elitepvpers.com/theblackmarket/treasures/""title=" title "&content=" content "&cost=" cost "&createtreasure=Submit")

            
html = .GetResponse("http://www.elitepvpers.com/theblackmarket/treasures/")

            If 
html.Contains("Your"Then
                MsgBox
("Treasure erfolgreich erstellt.")
            Else
                
MsgBox("tr22222222")
            
End If


        
End With
    End Sub
End 
Class 
Das Programm erstellt treasuren.
Gibt aber nicht die meldung: "Treasure erfolgreich erstellt."

woran liegt das?
xMischa is offline  
Old 02/22/2013, 15:06   #2
 
Kraizy​'s Avatar
 
elite*gold: 0
The Black Market: 471/0/0
Join Date: Apr 2010
Posts: 9,696
Received Thanks: 1,811
Quote:
html = .GetResponse("http://www.elitepvpers.com/theblackmarket/treasures/")
Wenn du das aufrufst, ist ja klar, dass die Meldung (Treasure successfully created o.ä.) nicht mehr vorhanden ist.
Kraizy​ is offline  
Old 02/22/2013, 15:09   #3
 
elite*gold: 0
Join Date: Apr 2012
Posts: 1,000
Received Thanks: 138
ja habs schon rausgefunden^^
danke trzd^^
xMischa is offline  
Reply


Similar Threads Similar Threads
vb.net HttpRequest
12/04/2012 - .NET Languages - 11 Replies
Hallo, habe ein Login gebaut für bananenkönig.de, aber er geht nicht, komischer Fehler beim debuggen. Ich hoffe mir kann jemand helfen... Option Strict On Option Explicit On Imports System.IO Imports System.Net Imports System.Text
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)



All times are GMT +1. The time now is 22:18.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.