Search results for query: *

  • Users: tonll
  • Order by date
  1. tonll

    need help with cross-thread calling to form

    i guess i got a lesson on life as well. thanks John. I'll keep that in mind. I'll make sure nobody gets to say that to me again. Thanks for your help. =) have a nice day.
  2. tonll

    need help with cross-thread calling to form

    Yay. whoa mafro, thats SWEEET!!! you totally cleaned up my code. looks so much better. i did think i was overdoing the delegates declaration here and there but since i didnt really know how it worked i thought it better to leave it as it is since it was working until i had that STAthread...
  3. tonll

    need help with cross-thread calling to form

    oooh.. okay. i thought it was something else. erm. its actually a client server application. so there's a need to get a connection from the client side. (2 seperate programs) but here it is: client side: Imports System.Threading Imports System.Net Imports System.Net.Sockets Imports System.Text...
  4. tonll

    need help with cross-thread calling to form

    Thanks John for providing the sample code. i didnt really get what mafrosis said in creating a saveFileDialog object. actually, i didnt know you could do this "(Dim SFD As New SaveFileDialog)". Never used that before.. so i tried this: <STAThread()> Public Sub handlerThread() Dim...
  5. tonll

    need help with cross-thread calling to form

    hmm maybe this will help you understand what i mean: <STAThread()> Public Sub handlerThread() Dim handlerSocket As Socket handlerSocket = alSockets(alSockets.Count - 1) Dim networkStream As NetworkStream = New NetworkStream(handlerSocket) Dim blocksize As...
  6. tonll

    need help with cross-thread calling to form

    okay.. so i know how to do this with text from the documentation example. thing is... i need to call a saveFileDialog to do saveFileDialog.showDialog() from a thread other than it was created on. so how do i invoke the control to do this??? the only thing close that i can find is this...
  7. tonll

    Getting selected item position from listview

    okay so i have a listview, and lets say i select an item (only 1 item) and double-click it to raise an event which is, to select the line which is in the same position as the listview in a listbox(both are populating items at the same time). How do i do that??? thanks for the help in advance.
Back
Top