Search results for query: *

  1. I

    how to compare string in vb.net

    i'm really interested to string.compare but dont know how to use it. i'm gonna use quite long string and i guess this very useful. can u pls help mer? thanks~
  2. I

    how to compare string in vb.net

    hye all, how can i compare string in vb.net dim output as string = "today if friday" dim input as string 'for example: input = Me.txtInput.Text if input = output ---> i dont know how to do that... msgbox("correct") else msgbox("Incorrect") end if thanks~
  3. I

    using datareader

    actually i dont know what to pass.. that one just the example.. lets go through deeply.. 'MyDataReader-->pass it to the database Dim variable1 as string 'this is my assumption only 'class, habitat = name of attributes that i get after some looping function variable1 = : "MyDataReader("class")...
  4. I

    using datareader

    hye all.. help me on this: eg : variable1 = "test" how can i remove the " " ? and make it: variable1 = test ? thanks~~
  5. I

    how to hold value from previous form?

    hye all, i already populated value to listbox in form1 then go to next form for some operation. when i go back to form1, the llistbox are cleared.. i dont know how hold the value . anyone can answer me??
  6. I

    how to sort an array?

    thanks~~~~
  7. I

    how to sort an array?

    hye all, how to sort an array and get the minimum value from it? for example: myArrayColumn = [1,5,1,2,9,.6.7.11,11.2.1] actually i wanna get the 5 minimum value from the array? how to do that? may be we can sort the array and create another array that will store 5 different value = 1,1,1,2,2...
  8. I

    how to go back to previous page?

    hye all, i have 3 different page that will go to the same form(lets name it as 'Result form') after they click one button in the 'Result form', there is back button that goes to the previous form. how to differentiate which form will appear when user click the back button? eg: form1-->'Result...
  9. I

    any function to find maximum number?

    hye all, i have several different value. is there any function to get the maximum value instead of using if.. else? example: input = 10, 20, 56, 87, 54 1, 2, 14, 22, .. max value = 87 rite? --> so, how to get this value?
  10. I

    how to calculate the processing time for some operation..

    Hye all, i want to calculate the proccessing time for 1 function. for example once user click a button, it will capture the current time until finish time to the some operation. for example: Private Sub btnTest_Click(..) <current start time> ..... ..... <current finish time> time take =...
  11. I

    how to write an array into list box?

    thanks~ but i want to use the array value from the first form- to be populated to the second form? how can i do that?
  12. I

    how to write an array into list box?

    anyone know the coding to write an array into list box?
  13. I

    how to put string into array?

    yes, actully, i want to store the string into the array.. then how to write the array into the list box? besides, how can i reuse the array in another form? can u show me? thanks alot for ur help~
  14. I

    how to put string into array?

    hi all, after some processed, i would like to put a string into array seems i want to reuse it back in another page. can anyone show me how to do that? this is the code example: If max_num = prob_ALL_no Then display = " <=50K." Else display = " >50K." End If <want to...
  15. I

    how to hold the output to the next page?

    Hi all, i have some value in array on the first page(after some operation). so, how can i populate it in the list box on the secod page? for example- put the result on the next page?
  16. I

    how to count attibutes from database

    hi everyone..i'm newbie in vb..net actually. my problem is like this.. 1.for example i want to query from db **select distinct (course) from student- example output are engineering, IT, pharmachist, communication, etc..(about 15) 2. how i can count total student taking each course **select...
Back
Top