473,379 Members | 1,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Problem calling a sub from a sub

Rob
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.
Rob
Nov 22 '05 #1
3 1311
On Tue, 23 Nov 2004 18:25:03 -0800, Rob wrote:
another sub. It is stopping when it tries to make the sub call. The call is


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
replace certain words in my E-Mail address.
Nov 22 '05 #2
Rob
The thread stops or hangs at the sub with no errors.

"Chris Dunaway" <"dunawayc[[at]_lunchmeat" wrote:
On Tue, 23 Nov 2004 18:25:03 -0800, Rob wrote:
another sub. It is stopping when it tries to make the sub call. The call is


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
replace certain words in my E-Mail address.

Nov 22 '05 #3
Rob
The same problem occurs when you run 3/4 trust, but on these computers they
are running full trust.

"Rob" wrote:
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.
Rob

Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: monika.saxena | last post by:
Hi all, In one of my projects which is a web based application in asp.net, a third party tool - "Frontline Solver DLL" (It is an unmanaged DLL and ..NET is calling it using the PInvoke) is used....
7
by: Andrew Christiansen | last post by:
Hey everyone. I have Visual Basic .NET 2003 and am trying to show images on a treeview control. I have the imagelist on the form filled with images, and have the ImageList property of the...
6
by: TPJ | last post by:
Help me please, because I really don't get it. I think it's some stupid mistake I make, but I just can't find it. I have been thinking about it for three days so far and I still haven't found any...
1
by: gzannd | last post by:
I have a problem with submitting a form to a PHP page through a dynamically created IFRAME in IE7. This code works fine in Firefox. However, IE7 submits an empty form--the correct PHP page is...
3
by: ShambhuHubli | last post by:
Hi all!! .. I am New member to this group. And also new to C/PYTHON API coding. I am trying to have two way communication i,e i am calling from python to C and then from C to python. I have no...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.