Groups | Blog | Home
all groups > dotnet general > november 2004 >

dotnet general : Problem calling a sub from a sub


Rob
11/23/2004 6:25:03 PM
I have a vb form which calls a thread which makes webrequest calls into the
internet, processes the info, and passes the info to another routine in
another sub. It is stopping when it tries to make the sub call. The call is
within itself or a sub in another dll.
This problem is showing about 50%of the computers around the world. Is this
an anti-virus or virus affecting the call to another sub or is it a threading
problem.
I have tried either Thread = New System.Threading.Thread(AddressOf mySub) or
Dim cntTimer As New System.Threading.Timer(New TimerCallback(AddressOf
mycounter), Nothing, 0, 5000) and no luck. The webrequest is about a rate of
1 second.
Thanks.
Chris Dunaway
11/24/2004 10:02:33 AM
[quoted text, click to view]

What exactly is the problem? Are you getting an error? Is the program
crashing?

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
Rob
11/24/2004 10:51:01 AM
The thread stops or hangs at the sub with no errors.

[quoted text, click to view]
Rob
11/25/2004 10:05:03 AM
The same problem occurs when you run 3/4 trust, but on these computers they
are running full trust.

[quoted text, click to view]
AddThis Social Bookmark Button