Post: I need Help with Visual Basic!!!
05-15-2015, 04:27 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I am making a netflix account checker & was wondering how i can get the rich text box to read the info in order?
(adsbygoogle = window.adsbygoogle || []).push({});
05-15-2015, 05:22 PM #2
xXcodgmRTE
Climbing up the ladder
What do you mean in order?
05-15-2015, 06:55 PM #3
read line by line, no all the text on the RichTextBox
05-15-2015, 08:35 PM #4
jagex
Gym leader
You want to read each character in the "RichTextBox" textbox line by line? foreach loop is one way

If you mean string per line then you can use a for loop

If you're populating a rich text box with multiple *accounts why not just use a listbox?
05-15-2015, 09:07 PM #5
The accounts they are in this format always...

[email][email protected][/email]:sssssssss
[email][email protected][/email]:dddddddd
[email][email protected][/email]:gggggggg

i want create a multi-account program checker who can read row by row and put the email and password in the right places, actually my program put all the text found in "RichTextBox"

Sorry if my english is a little bit poor... Thanks
05-15-2015, 09:24 PM #6
jagex
Gym leader
Does richtextbox have a index/line property?
05-16-2015, 03:41 PM #7
Default Avatar
Oneup
Guest
Originally posted by ironmanbori View Post
The accounts they are in this format always...

[email][email protected][/email]:sssssssss
[email][email protected][/email]:dddddddd
[email][email protected][/email]:gggggggg

i want create a multi-account program checker who can read row by row and put the email and password in the right places, actually my program put all the text found in "RichTextBox"

Sorry if my english is a little bit poor... Thanks


Rich textboxes apply their own formatting. So when you have multiple lines there is actually a new line character on each line. So what you can do is make a string array and split on the new line character and then you can further split that on ":" so you can get the account and the password separated.
07-31-2015, 03:32 PM #8
Soz for late reply i did this it is possible is your format should be like this email:pass make it so when you click the button they read them from the txt file with the line seperator code wait till tomarrow and i will help u
08-09-2015, 08:30 PM #9
Chen Madhala
Pokemon Trainer
Originally posted by ironmanbori View Post
I am making a netflix account checker & was wondering how i can get the rich text box to read the info in order?


I believe you could use Split function of the string
So it will split the string everytime it noticed a new line

Something like that
    
Dim StringArray As String() = richTextBox1.Text.Split(Environment.NewLine)
'Then just use for each loop to whatever you want
For Each (Item As String in StringArray)
'Shit here
Next


Something like that, im working on blind here without visual studio but it suppose to be something like that.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo