Search results

  1. mberube

    “Green Bean” looking for some clarification/assistance with arrays

    Ok, i'll paste something I made in two minutes. It basically do what you want with some arrays. Dim s AsString = "12345" Dim i(s.Length - 1) AsInteger Dim cpt AsInteger Try ForEach c AsCharIn s i(cpt) = Integer.Parse(c) cpt += 1 Next Catch ex As Exception...
  2. mberube

    kill a specific process

    Ok I know that part, but this is not exactly what i want. 1st, in your listview, there would be two processes with the same name. Wich one would i choose that is specificly the one I created, second, I don't want anything that would be called from a user. So with that process vector, i would...
  3. mberube

    kill a specific process

    Hi peeps, I'd like to know if it's possible to get the process ID of a specific application that i started in vb.net. Because my app is opening Excel and another application, and If the user decide to cancel, I need to kill both those processus. I know how I can kill Excel processus, but I want...
  4. mberube

    Forms and threads

    I fixed my prob. Instead of creating a new Thread to refresh my form, I created a new thread for the process itself. Everything works fine now! I made the form Modal like jmcilhinney suggested me to to manage the cancel operations. Thanks to anyone that tried to help, that is greatly...
  5. mberube

    Forms and threads

    the reason i didn't make it modal (with showdialog) is because I the processus is running after showing the form, with it modal, the processus wouldn't begin until the form is closed
  6. mberube

    Forms and threads

    but how could i start the thread in the child form (status) that would refer to the main form,the child form doesn't know the existence of the main one, does it? Anyway, the modal thing isn't a problem since I made the main form not visible for certain reasons. Thanx for your help alot
  7. mberube

    Forms and threads

    So what i have to do is to Call the status form, and that status form would create a new thread that handles the method from the first form, but then, how could i change the % !?
  8. mberube

    Forms and threads

    I tried that and it didn't change anything, because no event were called. Look like the desing is there but the form is untouchable during the calculations This would be a hard thing to do because everything is in my first form and that's why i'm doing my calculations
  9. mberube

    Forms and threads

    what do you mean? In the first form, the user press a button for the process to begin. Before the precedd begins, a new thread is started and the form appears. but there is no code into the form_load of the statusbar form. Actually, the thread calls a method from a class. That class is used...
  10. mberube

    Forms and threads

    Hi there! I'm currently making an application that calculate area of some regions that are in some others. This is a pretty long process that takes hours. This is a normal process as it is heavily complicated. Due to this, I made a form wich would be the status form. It has 1 progress bar and a...
Top Bottom