|
-
Oct 14th, 2003, 02:54 AM
#1
Thread Starter
Addicted Member
problem closing problem...
when stooping my program, the program continues to run, its a threading problem , i dont know what to do , this is how the program looks like >>
public sub main
StartSocketThread()
dim a as new form1
dim b as new form2
a.show
application.run(b)
a.close
end sub
public sub StartSocketThread()
dim thread as new thread ( addressof start)
thread.isbackground=true
thread.start
end sub
public sub start()
'some code
' the problem is here, the loop is to keep the thread alive, but dont know how to close it ( i thought it would work when set to background thread )
do
loop
end sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|