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.
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...
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...
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...
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...
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.