Click here to Skip to main content
15,867,488 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: visual basic 6.0 Pin
Dave Kreskowiak25-Dec-19 8:34
mveDave Kreskowiak25-Dec-19 8:34 
QuestionExcel Data Export Pin
RajaMohammed.A19-Dec-19 23:56
RajaMohammed.A19-Dec-19 23:56 
QuestionRe: Excel Data Export Pin
Richard MacCutchan20-Dec-19 0:25
mveRichard MacCutchan20-Dec-19 0:25 
AnswerRe: Excel Data Export Pin
Johan Hakkesteegt27-Jan-20 21:54
Johan Hakkesteegt27-Jan-20 21:54 
Questionhow to use a variable for sequencer Pin
nrdroque12-Dec-19 4:17
nrdroque12-Dec-19 4:17 
AnswerRe: how to use a variable for sequencer Pin
dan!sh 12-Dec-19 5:04
professional dan!sh 12-Dec-19 5:04 
GeneralRe: how to use a variable for sequencer Pin
nrdroque12-Dec-19 5:18
nrdroque12-Dec-19 5:18 
QuestionCount duplicates in a large richtextbox (1000+ lines) Pin
VBwolf11-Dec-19 9:23
VBwolf11-Dec-19 9:23 
Currently I have this:
VB
Private Sub btnCount_Click(sender As Object, e As EventArgs) Handles btnCount.Click
        Dim arrsize = rtbDHCP_lease.Lines.Length - 1
        Dim MyNum(arrsize)

        For I = 1 To arrsize
            MyNum(I) = rtbDHCP_lease.Lines(I).Substring(41, (rtbDHCP_lease.Lines(I).IndexOf(".", 41) - 41))
            ProgressBar1.Value = (I / arrsize) * 100
        Next

        Dim query = From item In MyNum
                    Order By item
                    Group By vlans = item
                        Into vlans_count = Group, Count()

        For Each result In query
            dgvDHCPcount.Rows.Add(New Integer() {result.vlans, result.Count})
        Next
End Sub


It takes a long time to go through the richtextbox especially if it has a large amount of lines. Is there a process the can speed it up?

Thanks in advance.
AnswerRe: Count duplicates in a large richtextbox (1000+ lines) Pin
Dave Kreskowiak11-Dec-19 12:16
mveDave Kreskowiak11-Dec-19 12:16 
QuestionHow can my app look the same on all machines? Pin
Member 146743679-Dec-19 14:17
Member 146743679-Dec-19 14:17 
AnswerRe: How can my app look the same on all machines? Pin
CHill6010-Dec-19 1:46
mveCHill6010-Dec-19 1:46 
AnswerRe: How can my app look the same on all machines? Pin
Dave Kreskowiak10-Dec-19 4:59
mveDave Kreskowiak10-Dec-19 4:59 
AnswerRe: How can my app look the same on all machines? Pin
Gerry Schmitz10-Dec-19 8:14
mveGerry Schmitz10-Dec-19 8:14 
QuestionHow can I get an free installer that registers .dll and .ocx components as I install my app? Pin
Member 146743679-Dec-19 14:17
Member 146743679-Dec-19 14:17 
AnswerRe: How can I get an free installer that registers .dll and .ocx components as I install my app? Pin
CHill6010-Dec-19 1:44
mveCHill6010-Dec-19 1:44 
AnswerRe: How can I get an free installer that registers .dll and .ocx components as I install my app? Pin
gvidali7-Feb-20 3:09
gvidali7-Feb-20 3:09 
Question[Solved] - How to retrieve value inserted to variable Pin
nrdroque5-Dec-19 23:26
nrdroque5-Dec-19 23:26 
AnswerRe: How to retrieve value inserted to variable Pin
dan!sh 6-Dec-19 0:41
professional dan!sh 6-Dec-19 0:41 
AnswerRe: How to retrieve value inserted to variable Pin
Richard Deeming6-Dec-19 1:05
mveRichard Deeming6-Dec-19 1:05 
GeneralRe: How to retrieve value inserted to variable Pin
nrdroque6-Dec-19 3:40
nrdroque6-Dec-19 3:40 
GeneralRe: How to retrieve value inserted to variable Pin
Eddy Vluggen6-Dec-19 8:49
professionalEddy Vluggen6-Dec-19 8:49 
QuestionMS Chart is adding extra X axis when doing multiple series. Pin
Member 1435926026-Nov-19 8:31
Member 1435926026-Nov-19 8:31 
QuestionHow to determine specific object from Msg.HWnd 'MESSAGE CLOSED' Pin
mo149225-Nov-19 2:32
mo149225-Nov-19 2:32 
QuestionMessage Closed Pin
17-Nov-19 20:37
professionalMorgan Lang17-Nov-19 20:37 
AnswerRe: can not find the pin Pin
Richard MacCutchan17-Nov-19 21:17
mveRichard MacCutchan17-Nov-19 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.