Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 06:17

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

Advertisement



VB6 String hilfe :/

Discussion on VB6 String hilfe :/ within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
VB6 String hilfe :/

Code:
Private Sub sckIRC_DataArrival(ByVal bytesTotal As Long)
    Dim strData As String, arrData() As String, i As Long
    Dim arrWords() As String, arrParms() As String
sckIRC.GetData strData, vbString
    arrData = Split(strData, vbCrLf)
    For i = 0 To UBound(arrData) - 1
        arrWords = Split(arrData(i), " ")
        arrParms() = Split(arrData(i), ":")
        Select Case UCase$(arrWords(1))
Case "PRIVMSG"
  Text1.SelText = strData & vbCrLf
Ja Die strings die bei text1 kommen sind etc::"Username!~username2@UserIP PRIVMSG #room_Name :hier ist der text der geschrieben wurde"

Ich will das bei dem text !~ und #room_name oder PRIVMSG das löschen was da drin ist auch !~ und Prıvmsg.
Und noch 2.frage wals der user "ü,ö,ı,ç,ş,ğ," oder so special characters schreibt komt es anders in text1 wie kan ich das machen ? etc: ü komt als "ün"

Wie kan ich das machen ? ist vb6.
Danke für hilfe jetztschon.



English:
Hi go up you can see the code there the packets that come in text1 that are example:"Username!~username2@UserIP PRIVMSG #room_Name :the text that the user write" i will delete the text beetween !~ and #room name or !~ between PRIVMSG how can i do it ? i hope i get that in text1 = "Username : the text that user write".

and 1 question more when the user write special characers like: "ü,ö,ı,ç,ş,ğ," then in text1 the characters are not "ü,ö,ı,ç,ş,ğ," some other thinks that i cannot understand how can i fix it and that it show the real characters ?

Thanks in advanced for help.
blackout617 is offline  
Old 09/05/2013, 16:42   #2
 
elite*gold: 0
The Black Market: 134/0/2
Join Date: Dec 2012
Posts: 1,140
Received Thanks: 229
Hat nichts in der .NET Section zu suchen.
Acin™ is offline  
Old 09/05/2013, 16:54   #3
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
#Closerequest
habe es geschaft
mit Replace$ funktion
Replace$(Data, "ç", "ç")
blackout617 is offline  
Reply


Similar Threads Similar Threads
Brauche hilfe string replace :S
06/13/2013 - C/C++ - 9 Replies
Hi, unzwar habe ich eine Aufgabe, Legen Sie nun in Ihrem Projekt zwei weitere Dateien an: "stringOperations.h" und "stringOperations.cpp". In diesen Dateien deklarieren bzw. definieren Sie Funktionen, die den Umgang mit Strings und der Standard-Library <string> einüben. a) Erweitern Sie ihr Projekt um eine Funktion mit der Deklaration int myreplace(string & text, const string &findString, const string &replaceString); welche in einem String text alle Vorkommen des Strings findString...
[Visual Basic] [Problem] String auslesen/String zufällig wählen
05/06/2012 - General Coding - 4 Replies
Code: #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Name Generator", 236, 299, 815, 246) $Input1 = GUICtrlCreateInput("Username", 24, 72, 185, 21) $Input2 = GUICtrlCreateInput("Username", 24, 104, 185, 21) $Input3 = GUICtrlCreateInput("Username", 24, 136, 185, 21) $Input4 = GUICtrlCreateInput("Username", 24, 168, 185, 21) $Input5 = GUICtrlCreateInput("Username", 24, 200, 185, 21)
[Hilfe] String aus Memory lesen
08/03/2011 - World of Warcraft - 0 Replies
Hi, ich würd gern nen String ausm Speicher lesen. Die Länge soll dabei selbstständig berechnet werden.. Sprich es soll so lange gelesen werden bis das Byte 0x00 kommt. Dazu hab ich mir folgende Schleife geschrieben: // ReadString string ReadString(UINT_PTR Offset) { int size; BYTE strbyte = {0x20}; // Hack.. musste strbyte ja mit irgendwas initiieren was nicht null ist. for (size=0;strbyte!=0;size++) // so lange lesen bis das byte 0x00 und damit das Ende des Strings gefunden wurde....
Hilfe bei String
04/27/2011 - AutoIt - 4 Replies
Hallo Leute, hab ma ne Frage. Ich möchte ein kleines Programm machen dass in der Lage ist einen Text nach einer bestimmten Weise umzuschreiben, und zwar nach folgenden Sachen: 1. Er soll das Wort umkehren 2. er soll den Buchstaben "l" zwischen jeden buchstaben setzen außer am letzen Also ich zeige euch ein Beispiel: Beispiel



All times are GMT +2. The time now is 06:17.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.