Click here to Skip to main content
15,925,309 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: csv => txt file Pin
ChandraRam25-Oct-12 7:44
ChandraRam25-Oct-12 7:44 
GeneralRe: csv => txt file Pin
dubscat25-Oct-12 8:53
dubscat25-Oct-12 8:53 
GeneralRe: csv => txt file Pin
ChandraRam26-Oct-12 3:04
ChandraRam26-Oct-12 3:04 
GeneralRe: csv => txt file Pin
dubscat26-Oct-12 3:25
dubscat26-Oct-12 3:25 
QuestionECDiffieHellmanCng & CngKey Usage Pin
Dominick Marciano21-Oct-12 15:54
professionalDominick Marciano21-Oct-12 15:54 
Questiondeployment Pin
Dirquez21-Oct-12 9:21
Dirquez21-Oct-12 9:21 
AnswerRe: deployment Pin
Richard MacCutchan21-Oct-12 22:03
mveRichard MacCutchan21-Oct-12 22:03 
AnswerRe: deployment Pin
Dave Kreskowiak22-Oct-12 2:13
mveDave Kreskowiak22-Oct-12 2:13 
Questionbackround picture in windows aero theme Pin
Syafrie00719-Oct-12 18:59
Syafrie00719-Oct-12 18:59 
Questiondo loop hang and not resopnding while running langtime.how rectify this Pin
leostalin9117-Oct-12 23:18
leostalin9117-Oct-12 23:18 
AnswerRe: do loop hang and not resopnding while running langtime.how rectify this Pin
Eddy Vluggen17-Oct-12 23:31
professionalEddy Vluggen17-Oct-12 23:31 
AnswerRe: do loop hang and not resopnding while running langtime.how rectify this Pin
Syafrie00719-Oct-12 19:03
Syafrie00719-Oct-12 19:03 
AnswerRe: do loop hang and not resopnding while running langtime.how rectify this Pin
Syafrie00719-Oct-12 19:03
Syafrie00719-Oct-12 19:03 
GeneralRe: do loop hang and not resopnding while running langtime.how rectify this Pin
Dave Kreskowiak20-Oct-12 3:58
mveDave Kreskowiak20-Oct-12 3:58 
GeneralRe: do loop hang and not resopnding while running langtime.how rectify this Pin
josephSurgeon31-Oct-12 4:22
josephSurgeon31-Oct-12 4:22 
Question[SOLVED] Getting System.StackOverflowException Pin
AmbiguousName15-Oct-12 19:38
AmbiguousName15-Oct-12 19:38 
AnswerRe: [SOLVED] Getting System.StackOverflowException Pin
Jay Royall19-Oct-12 1:10
Jay Royall19-Oct-12 1:10 
QuestionVS 2012 - Install Shield Pin
No-e15-Oct-12 6:10
No-e15-Oct-12 6:10 
AnswerRe: VS 2012 - Install Shield Pin
Dave Kreskowiak15-Oct-12 7:44
mveDave Kreskowiak15-Oct-12 7:44 
Questionhaving problems with program to merge sort a given set of input Pin
benkazy101415-Oct-12 0:23
benkazy101415-Oct-12 0:23 
please i am having problems writing a program to merge sort using vb.net2010. here is my code any form of help will be appreciated.
i am also having problems outputing the sorted result into listbox2

VB
Private Sub BTN_SORT_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BTN_SORT.Click
    Dim arrayofinput()
    Dim low As Integer
    Dim high As Integer
    Dim length As Integer
    Dim middle As Integer
    Dim temp As Integer
    Dim m1 As Integer
    Dim m2 As Integer
    If low >= high Then Return
    Dim length As Integer = high - low + 1
    Dim middle As Integer = Math.Floor((low + high) / 2)
    Do(arrayofinput, low, middle)
        Do(arrayofinput.Length, middle + 1, high)
            Dim temp(arrayofinput.Length - 1) As Integer
            For i As Integer = 0 To length - 1
                temp(i) = arrayofinput(low + i)
            Next
            Dim m1 As Integer = 0
            Dim m2 As Integer = middle - low + 1
            For i As Integer = 0 To length - 1
                If m2 <= high - low Then
                    If m1 <= middle - low Then
                        If temp(m1) > temp(m2) Then
                            arrayofinput(i + low) = temp(m2)
                            m2 += 1
                        Else
                            arrayofinput(i + low) = temp(m1)
                            m1 += 1
                        End If
                    Else
                        arrayofinput(i + low) = temp(m2)
                        m2 += 1
                    End If
                Else
                    arrayofinput(i + low) = temp(m1)
                    m1 += 1
                End If
            Next
            ListBox2.Items.Add(ListBox1.Items.Add(input))
End Sub

QuestionRe: having problems with program to merge sort a given set of input Pin
Eddy Vluggen15-Oct-12 0:50
professionalEddy Vluggen15-Oct-12 0:50 
AnswerRe: having problems with program to merge sort a given set of input Pin
benkazy101415-Oct-12 1:36
benkazy101415-Oct-12 1:36 
QuestionRe: having problems with program to merge sort a given set of input Pin
Eddy Vluggen15-Oct-12 2:16
professionalEddy Vluggen15-Oct-12 2:16 
AnswerRe: having problems with program to merge sort a given set of input Pin
benkazy101415-Oct-12 2:38
benkazy101415-Oct-12 2:38 
GeneralRe: having problems with program to merge sort a given set of input Pin
Eddy Vluggen15-Oct-12 2:47
professionalEddy Vluggen15-Oct-12 2:47 

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.