Jeder Code ist anders. Jetzt will ich den String auslesen.
Mein Code:
Code:
Public Class Form2
Dim web As New System.Net.WebClient
Dim Serials As String = ""
Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Serials = web.DownloadString("https://www.domain.de")
If Serials.Contains(TextBox1.Text) Then
MsgBox("Seriennummer ist korrekt!", MsgBoxStyle.Information)
Me.Hide()
Form1.Show()
Else
MsgBox("Seriennummer ist falsch!", MsgBoxStyle.Information)
End If
End Sub
End Class
Es soll dann so sein: - Wenn der Code der in der Textbox eingegeben wird 1:1 mit einem der Codes in der Textdatei übereinstimmt dann soll eine MsgBox mit "Korrekt" geöffnet werden.
- Wenn der Code nicht übereinstimmt soll eine MsgBox mit "Falsch" geöffnet werden.
Mein Problem:
Egal was ich in der Textbox eingebe, es wird immer korrekt angezeigt.
.Contains heist einfach das irgend was in der Textbox in der Txt enthalten sein muss...Glaub ich zmd
Du musst die Serial.txt Zeile für Zeile durchloopen und dann mit If Serial = txtb1.text ...
Conquer Online Webclient? 12/22/2012 - CO2 Private Server - 2 Replies As you know Java is cross-platform, so it is possible to put specific games made with Java on webclients, but for what games is that possible?
I know that Runescape for example is a very famous webclient/client game, but I was wondering if Conquer Online would also be able to be put in a webclient, if you would convert the C# into Java.
[C#] Webclient / HttpWebRequest Refresh 12/06/2012 - .NET Languages - 8 Replies Guten Tag zusammen,
ich habe ein 'kleines Problem mit meinem
neuen C# Projekt.
Ich muss, soweit dies möglich ist,
eine Seite (via Webclient oder HttpWebRequest)
alle paar Minuten Neu laden (Refresh / F5),
ohne diese komplett neu aufzurufen / zu "deklarieren".
-> Ich habe zZ noch nichts hilfreiches darüber gefunden.
Ragescape Server [24/7][Webclient] 03/14/2012 - Runescape Private Server - 1 Replies Welcome to The Official RageScape Rsps Thread
Ragescape is a runescape private server with custom items, Easier Xp, and much more.
Features:
Custom Buttons,Skins.
Ranks can turn into npc's
Custom Quests
Custom Minigames
Webclient
Downloadable Client
Runescape Webclient? 02/26/2012 - Runescape Private Server - 0 Replies Hallo liebe Community,
könnte mir jemand sagen, wie man einen Webclient erstellt? Ich möchte einen Runescape Server aufmachen der auf einem Webclienten läuft. Hoffe jemand hat eine Antwort.
MFG Bomba :confused:
(Question)Webclient 04/16/2010 - Runescape - 5 Replies well i want to know if there is a list with webclient and non web client like
Webclient
Server name:
Non Web Client